Skip to content

Commit 0b477eb

Browse files
1 parent 079ca97 commit 0b477eb

File tree

5 files changed

+168
-6
lines changed

5 files changed

+168
-6
lines changed

clients/google-api-services-calendar/v3/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-calendar</artifactId>
25-
<version>v3-rev20240927-2.0.0</version>
25+
<version>v3-rev20241101-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-calendar:v3-rev20240927-2.0.0'
38+
implementation 'com.google.apis:google-api-services-calendar:v3-rev20241101-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-calendar/v3/2.0.0/com/google/api/services/calendar/model/Event.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ public final class Event extends com.google.api.client.json.GenericJson {
6363
@com.google.api.client.util.Key
6464
private java.lang.Boolean attendeesOmitted;
6565

66+
/**
67+
* Birthday or special event data. Used if eventType is "birthday". Immutable.
68+
* The value may be {@code null}.
69+
*/
70+
@com.google.api.client.util.Key
71+
private EventBirthdayProperties birthdayProperties;
72+
6673
/**
6774
* The color of the event. This is an ID referring to an entry in the event section of the colors
6875
* definition (see the colors endpoint). Optional.
@@ -536,6 +543,23 @@ public boolean isAttendeesOmitted() {
536543
return attendeesOmitted;
537544
}
538545

546+
/**
547+
* Birthday or special event data. Used if eventType is "birthday". Immutable.
548+
* @return value or {@code null} for none
549+
*/
550+
public EventBirthdayProperties getBirthdayProperties() {
551+
return birthdayProperties;
552+
}
553+
554+
/**
555+
* Birthday or special event data. Used if eventType is "birthday". Immutable.
556+
* @param birthdayProperties birthdayProperties or {@code null} for none
557+
*/
558+
public Event setBirthdayProperties(EventBirthdayProperties birthdayProperties) {
559+
this.birthdayProperties = birthdayProperties;
560+
return this;
561+
}
562+
539563
/**
540564
* The color of the event. This is an ID referring to an entry in the event section of the colors
541565
* definition (see the colors endpoint). Optional.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
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.calendar.model;
18+
19+
/**
20+
* Model definition for EventBirthdayProperties.
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 Calendar 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 EventBirthdayProperties extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Resource name of the contact this birthday event is linked to. This can be used to fetch
34+
* contact details from People API. Format: "people/c12345". Read-only.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String contact;
39+
40+
/**
41+
* Custom type label specified for this event. This is populated if birthdayProperties.type is set
42+
* to "custom". Read-only.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String customTypeName;
47+
48+
/**
49+
* Type of birthday or special event. Possible values are: - "anniversary" - An anniversary other
50+
* than birthday. Always has a contact. - "birthday" - A birthday event. This is the default
51+
* value. - "custom" - A special date whose label is further specified in the customTypeName
52+
* field. Always has a contact. - "other" - A special date which does not fall into the other
53+
* categories, and does not have a custom label. Always has a contact. - "self" - Calendar
54+
* owner's own birthday. Cannot have a contact. The Calendar API only supports creating events
55+
* with the type "birthday". The type cannot be changed after the event is created.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.String type;
60+
61+
/**
62+
* Resource name of the contact this birthday event is linked to. This can be used to fetch
63+
* contact details from People API. Format: "people/c12345". Read-only.
64+
* @return value or {@code null} for none
65+
*/
66+
public java.lang.String getContact() {
67+
return contact;
68+
}
69+
70+
/**
71+
* Resource name of the contact this birthday event is linked to. This can be used to fetch
72+
* contact details from People API. Format: "people/c12345". Read-only.
73+
* @param contact contact or {@code null} for none
74+
*/
75+
public EventBirthdayProperties setContact(java.lang.String contact) {
76+
this.contact = contact;
77+
return this;
78+
}
79+
80+
/**
81+
* Custom type label specified for this event. This is populated if birthdayProperties.type is set
82+
* to "custom". Read-only.
83+
* @return value or {@code null} for none
84+
*/
85+
public java.lang.String getCustomTypeName() {
86+
return customTypeName;
87+
}
88+
89+
/**
90+
* Custom type label specified for this event. This is populated if birthdayProperties.type is set
91+
* to "custom". Read-only.
92+
* @param customTypeName customTypeName or {@code null} for none
93+
*/
94+
public EventBirthdayProperties setCustomTypeName(java.lang.String customTypeName) {
95+
this.customTypeName = customTypeName;
96+
return this;
97+
}
98+
99+
/**
100+
* Type of birthday or special event. Possible values are: - "anniversary" - An anniversary other
101+
* than birthday. Always has a contact. - "birthday" - A birthday event. This is the default
102+
* value. - "custom" - A special date whose label is further specified in the customTypeName
103+
* field. Always has a contact. - "other" - A special date which does not fall into the other
104+
* categories, and does not have a custom label. Always has a contact. - "self" - Calendar
105+
* owner's own birthday. Cannot have a contact. The Calendar API only supports creating events
106+
* with the type "birthday". The type cannot be changed after the event is created.
107+
* @return value or {@code null} for none
108+
*/
109+
public java.lang.String getType() {
110+
return type;
111+
}
112+
113+
/**
114+
* Type of birthday or special event. Possible values are: - "anniversary" - An anniversary other
115+
* than birthday. Always has a contact. - "birthday" - A birthday event. This is the default
116+
* value. - "custom" - A special date whose label is further specified in the customTypeName
117+
* field. Always has a contact. - "other" - A special date which does not fall into the other
118+
* categories, and does not have a custom label. Always has a contact. - "self" - Calendar
119+
* owner's own birthday. Cannot have a contact. The Calendar API only supports creating events
120+
* with the type "birthday". The type cannot be changed after the event is created.
121+
* @param type type or {@code null} for none
122+
*/
123+
public EventBirthdayProperties setType(java.lang.String type) {
124+
this.type = type;
125+
return this;
126+
}
127+
128+
@Override
129+
public EventBirthdayProperties set(String fieldName, Object value) {
130+
return (EventBirthdayProperties) super.set(fieldName, value);
131+
}
132+
133+
@Override
134+
public EventBirthdayProperties clone() {
135+
return (EventBirthdayProperties) super.clone();
136+
}
137+
138+
}

clients/google-api-services-calendar/v3/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-calendar</artifactId>
11-
<version>v3-rev20240927-2.0.0</version>
12-
<name>Calendar API v3-rev20240927-2.0.0</name>
11+
<version>v3-rev20241101-2.0.0</version>
12+
<name>Calendar API v3-rev20241101-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-calendar/v3/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-calendar</artifactId>
25-
<version>v3-rev20240927-2.0.0</version>
25+
<version>v3-rev20241101-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-calendar:v3-rev20240927-2.0.0'
38+
implementation 'com.google.apis:google-api-services-calendar:v3-rev20241101-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)