Skip to content

Fix type of expireTimestamp #802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions linebot/v3/audience/models/create_audience_group_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
import json


from typing import Optional, Union
from pydantic.v1 import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, validator
from typing import Optional
from pydantic.v1 import BaseModel, Field, StrictBool, StrictInt, StrictStr, validator
from linebot.v3.audience.models.audience_group_type import AudienceGroupType

class CreateAudienceGroupResponse(BaseModel):
Expand All @@ -33,7 +33,7 @@ class CreateAudienceGroupResponse(BaseModel):
description: Optional[StrictStr] = Field(None, description="The audience's name.")
created: Optional[StrictInt] = Field(None, description="When the audience was created (in UNIX time).")
permission: Optional[StrictStr] = Field(None, description="Audience's update permission. Audiences linked to the same channel will be READ_WRITE. `READ`: Can use only. `READ_WRITE`: Can use and update. ")
expire_timestamp: Optional[Union[StrictFloat, StrictInt]] = Field(None, alias="expireTimestamp", description="Time of audience expiration. Only returned for specific audiences. ")
expire_timestamp: Optional[StrictInt] = Field(None, alias="expireTimestamp", description="Time of audience expiration. Only returned for specific audiences. ")
is_ifa_audience: Optional[StrictBool] = Field(None, alias="isIfaAudience", description="The value indicating the type of account to be sent, as specified when creating the audience for uploading user IDs. One of: `true`: Accounts are specified with IFAs. `false` (default): Accounts are specified with user IDs. ")

__properties = ["audienceGroupId", "createRoute", "type", "description", "created", "permission", "expireTimestamp", "isIfaAudience"]
Expand Down