Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #833 from cisco-open/fix/ft-model
Browse files Browse the repository at this point in the history
Fix model alias
  • Loading branch information
jpkrajewski authored Sep 25, 2024
2 parents c3bed12 + b7abac2 commit d323862
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions catalystwan/models/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class FeatureTemplateInformation(TemplateInformation):
created_on: Optional[int] = Field(default=None, serialization_alias="createdOn", validation_alias="createdOn")
last_updated_on: dt.datetime = Field(serialization_alias="lastUpdatedOn", validation_alias="lastUpdatedOn")
config_type: Optional[str] = Field(default=None, serialization_alias="configType", validation_alias="configType")
attached_masters_count: Optional[str] = Field(
default=None, serialization_alias="attachedMasterCount", validation_alias="attachedMasterCount"
attached_masters_count: Optional[int] = Field(
default=None, serialization_alias="attachedMastersCount", validation_alias="attachedMastersCount"
)
devices_attached: int = Field(serialization_alias="devicesAttached", validation_alias="devicesAttached")
resource_group: Optional[str] = Field(
Expand Down Expand Up @@ -71,8 +71,8 @@ class FeatureTemplateDefinition(TemplateInformation):
serialization_alias="templateDefinition", validation_alias="templateDefinition"
)
config_type: str = Field(serialization_alias="configType", validation_alias="configType")
attached_masters_count: Optional[str] = Field(
default=None, serialization_alias="attachedMasterCount", validation_alias="attachedMasterCount"
attached_masters_count: Optional[int] = Field(
default=None, serialization_alias="attachedMastersCount", validation_alias="attachedMastersCount"
)
feature: FeatureType
created_on: Optional[int] = Field(default=None, serialization_alias="createdOn", validation_alias="createdOn")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "catalystwan"
version = "0.35.4dev6"
version = "0.35.4dev7"
description = "Cisco Catalyst WAN SDK for Python"
authors = ["kagorski <kagorski@cisco.com>"]
readme = "README.md"
Expand Down

0 comments on commit d323862

Please sign in to comment.