Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite5fe795

Browse files
author
APIs and Common Services team
committed
Automated SDK update
This updates the SDK from internal repo commit segmentio/public-api@37478f0d.
1 parentf77acc0 commite5fe795

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

‎segment_public_api/models/add_audience_schedule_to_audience_alpha_input.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ class AddAudienceScheduleToAudienceAlphaInput(BaseModel):
2727
"""
2828
Defines an input for creating an audience schedule. # noqa: E501
2929
"""
30-
strategy:StrictStr=Field(...,description="Strategy of the audience schedule (manual,periodic, or specific days).")
30+
strategy:StrictStr=Field(...,description="Strategy of the audience schedule (periodic or specific days).")
3131
config:Optional[Config]=None
3232
__properties= ["strategy","config"]
3333

3434
@validator('strategy')
3535
defstrategy_validate_enum(cls,value):
3636
"""Validates the enum"""
37-
ifvaluenotin ('MANUAL','PERIODIC','SPECIFIC_DAYS'):
38-
raiseValueError("must be one of enum values ('MANUAL', 'PERIODIC', 'SPECIFIC_DAYS')")
37+
ifvaluenotin ('PERIODIC','SPECIFIC_DAYS'):
38+
raiseValueError("must be one of enum values ('PERIODIC', 'SPECIFIC_DAYS')")
3939
returnvalue
4040

4141
classConfig:

‎segment_public_api/models/audience_schedule.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class AudienceSchedule(BaseModel):
2828
Defines an Audience Schedule. # noqa: E501
2929
"""
3030
id:StrictStr=Field(...,description="Distinct identifier for the schedule.")
31-
strategy:StrictStr=Field(...,description="Strategy of the audience schedule (manual, periodic, or specific days).")
31+
strategy:StrictStr=Field(...,description="Strategy of the audience schedule (manual, periodic or specific days).")
3232
config:Optional[Config]=None
3333
next_execution:Optional[StrictStr]=Field(None,alias="nextExecution",description="The next scheduled execution time (RFC3339).")
3434
__properties= ["id","strategy","config","nextExecution"]

‎segment_public_api/models/update_audience_schedule_for_audience_alpha_input.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ class UpdateAudienceScheduleForAudienceAlphaInput(BaseModel):
2727
"""
2828
Input for updating a schedule on an audience. # noqa: E501
2929
"""
30-
strategy:StrictStr=Field(...,description="Strategy of the audience schedule (manual,periodic, or specific days).")
30+
strategy:StrictStr=Field(...,description="Strategy of the audience schedule (periodic or specific days).")
3131
config:Optional[Config]=None
3232
__properties= ["strategy","config"]
3333

3434
@validator('strategy')
3535
defstrategy_validate_enum(cls,value):
3636
"""Validates the enum"""
37-
ifvaluenotin ('MANUAL','PERIODIC','SPECIFIC_DAYS'):
38-
raiseValueError("must be one of enum values ('MANUAL', 'PERIODIC', 'SPECIFIC_DAYS')")
37+
ifvaluenotin ('PERIODIC','SPECIFIC_DAYS'):
38+
raiseValueError("must be one of enum values ('PERIODIC', 'SPECIFIC_DAYS')")
3939
returnvalue
4040

4141
classConfig:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp