Skip to content

Commit 556d09f

Browse files
1 parent aaecd29 commit 556d09f

File tree

7 files changed

+514
-6
lines changed

7 files changed

+514
-6
lines changed

clients/google-api-services-docs/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-docs</artifactId>
25-
<version>v1-rev20251124-2.0.0</version>
25+
<version>v1-rev20251215-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-docs:v1-rev20251124-2.0.0'
38+
implementation 'com.google.apis:google-api-services-docs:v1-rev20251215-2.0.0'
3939
}
4040
```
4141

Lines changed: 222 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,222 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.docs.v1.model;
18+
19+
/**
20+
* A date instance mentioned in a document.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Google Docs API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class DateElement extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The properties of this DateElement.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private DateElementProperties dateElementProperties;
38+
39+
/**
40+
* Output only. The unique ID of this date.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String dateId;
45+
46+
/**
47+
* The suggested changes to the date element properties, keyed by suggestion ID.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.util.Map<String, SuggestedDateElementProperties> suggestedDateElementPropertiesChanges;
52+
53+
/**
54+
* IDs for suggestions that remove this date from the document. A DateElement might have multiple
55+
* deletion IDs if, for example, multiple users suggest deleting it. If empty, then this date
56+
* isn't suggested for deletion.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.util.List<java.lang.String> suggestedDeletionIds;
61+
62+
/**
63+
* IDs for suggestions that insert this date into the document. A DateElement might have multiple
64+
* insertion IDs if it's a nested suggested change (a suggestion within a suggestion made by a
65+
* different user, for example). If empty, then this date isn't a suggested insertion.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.util.List<java.lang.String> suggestedInsertionIds;
70+
71+
/**
72+
* The suggested text style changes to this DateElement, keyed by suggestion ID.
73+
* The value may be {@code null}.
74+
*/
75+
@com.google.api.client.util.Key
76+
private java.util.Map<String, SuggestedTextStyle> suggestedTextStyleChanges;
77+
78+
/**
79+
* The text style of this DateElement.
80+
* The value may be {@code null}.
81+
*/
82+
@com.google.api.client.util.Key
83+
private TextStyle textStyle;
84+
85+
/**
86+
* The properties of this DateElement.
87+
* @return value or {@code null} for none
88+
*/
89+
public DateElementProperties getDateElementProperties() {
90+
return dateElementProperties;
91+
}
92+
93+
/**
94+
* The properties of this DateElement.
95+
* @param dateElementProperties dateElementProperties or {@code null} for none
96+
*/
97+
public DateElement setDateElementProperties(DateElementProperties dateElementProperties) {
98+
this.dateElementProperties = dateElementProperties;
99+
return this;
100+
}
101+
102+
/**
103+
* Output only. The unique ID of this date.
104+
* @return value or {@code null} for none
105+
*/
106+
public java.lang.String getDateId() {
107+
return dateId;
108+
}
109+
110+
/**
111+
* Output only. The unique ID of this date.
112+
* @param dateId dateId or {@code null} for none
113+
*/
114+
public DateElement setDateId(java.lang.String dateId) {
115+
this.dateId = dateId;
116+
return this;
117+
}
118+
119+
/**
120+
* The suggested changes to the date element properties, keyed by suggestion ID.
121+
* @return value or {@code null} for none
122+
*/
123+
public java.util.Map<String, SuggestedDateElementProperties> getSuggestedDateElementPropertiesChanges() {
124+
return suggestedDateElementPropertiesChanges;
125+
}
126+
127+
/**
128+
* The suggested changes to the date element properties, keyed by suggestion ID.
129+
* @param suggestedDateElementPropertiesChanges suggestedDateElementPropertiesChanges or {@code null} for none
130+
*/
131+
public DateElement setSuggestedDateElementPropertiesChanges(java.util.Map<String, SuggestedDateElementProperties> suggestedDateElementPropertiesChanges) {
132+
this.suggestedDateElementPropertiesChanges = suggestedDateElementPropertiesChanges;
133+
return this;
134+
}
135+
136+
/**
137+
* IDs for suggestions that remove this date from the document. A DateElement might have multiple
138+
* deletion IDs if, for example, multiple users suggest deleting it. If empty, then this date
139+
* isn't suggested for deletion.
140+
* @return value or {@code null} for none
141+
*/
142+
public java.util.List<java.lang.String> getSuggestedDeletionIds() {
143+
return suggestedDeletionIds;
144+
}
145+
146+
/**
147+
* IDs for suggestions that remove this date from the document. A DateElement might have multiple
148+
* deletion IDs if, for example, multiple users suggest deleting it. If empty, then this date
149+
* isn't suggested for deletion.
150+
* @param suggestedDeletionIds suggestedDeletionIds or {@code null} for none
151+
*/
152+
public DateElement setSuggestedDeletionIds(java.util.List<java.lang.String> suggestedDeletionIds) {
153+
this.suggestedDeletionIds = suggestedDeletionIds;
154+
return this;
155+
}
156+
157+
/**
158+
* IDs for suggestions that insert this date into the document. A DateElement might have multiple
159+
* insertion IDs if it's a nested suggested change (a suggestion within a suggestion made by a
160+
* different user, for example). If empty, then this date isn't a suggested insertion.
161+
* @return value or {@code null} for none
162+
*/
163+
public java.util.List<java.lang.String> getSuggestedInsertionIds() {
164+
return suggestedInsertionIds;
165+
}
166+
167+
/**
168+
* IDs for suggestions that insert this date into the document. A DateElement might have multiple
169+
* insertion IDs if it's a nested suggested change (a suggestion within a suggestion made by a
170+
* different user, for example). If empty, then this date isn't a suggested insertion.
171+
* @param suggestedInsertionIds suggestedInsertionIds or {@code null} for none
172+
*/
173+
public DateElement setSuggestedInsertionIds(java.util.List<java.lang.String> suggestedInsertionIds) {
174+
this.suggestedInsertionIds = suggestedInsertionIds;
175+
return this;
176+
}
177+
178+
/**
179+
* The suggested text style changes to this DateElement, keyed by suggestion ID.
180+
* @return value or {@code null} for none
181+
*/
182+
public java.util.Map<String, SuggestedTextStyle> getSuggestedTextStyleChanges() {
183+
return suggestedTextStyleChanges;
184+
}
185+
186+
/**
187+
* The suggested text style changes to this DateElement, keyed by suggestion ID.
188+
* @param suggestedTextStyleChanges suggestedTextStyleChanges or {@code null} for none
189+
*/
190+
public DateElement setSuggestedTextStyleChanges(java.util.Map<String, SuggestedTextStyle> suggestedTextStyleChanges) {
191+
this.suggestedTextStyleChanges = suggestedTextStyleChanges;
192+
return this;
193+
}
194+
195+
/**
196+
* The text style of this DateElement.
197+
* @return value or {@code null} for none
198+
*/
199+
public TextStyle getTextStyle() {
200+
return textStyle;
201+
}
202+
203+
/**
204+
* The text style of this DateElement.
205+
* @param textStyle textStyle or {@code null} for none
206+
*/
207+
public DateElement setTextStyle(TextStyle textStyle) {
208+
this.textStyle = textStyle;
209+
return this;
210+
}
211+
212+
@Override
213+
public DateElement set(String fieldName, Object value) {
214+
return (DateElement) super.set(fieldName, value);
215+
}
216+
217+
@Override
218+
public DateElement clone() {
219+
return (DateElement) super.clone();
220+
}
221+
222+
}

0 commit comments

Comments
 (0)