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 "