Skip to content
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

Generated models and request builders #957

Merged
merged 1 commit into from
Nov 23, 2024
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ...models.base_delta_function_response import BaseDeltaFunctionResponse

@dataclass
class DeltaGetResponse(BaseDeltaFunctionResponse):
class DeltaGetResponse(BaseDeltaFunctionResponse, Parsable):
# The value property
value: Optional[List[Application]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetAvailableExtensionPropertiesPostResponse(BaseCollectionPaginationCountResponse):
class GetAvailableExtensionPropertiesPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[ExtensionProperty]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetByIdsPostResponse(BaseCollectionPaginationCountResponse):
class GetByIdsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[DirectoryObject]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class CheckMemberGroupsPostResponse(BaseCollectionPaginationCountResponse):
class CheckMemberGroupsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class CheckMemberObjectsPostResponse(BaseCollectionPaginationCountResponse):
class CheckMemberObjectsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetMemberGroupsPostResponse(BaseCollectionPaginationCountResponse):
class GetMemberGroupsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class GetMemberObjectsPostResponse(BaseCollectionPaginationCountResponse):
class GetMemberObjectsPostResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[str]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq
}
if not self.request_adapter:
raise Exception("Http core is null")
return await self.request_adapter.send_primitive_async(request_info, int, error_mapping)
return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping)

def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class FilterOperatorsGetResponse(BaseCollectionPaginationCountResponse):
class FilterOperatorsGetResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[FilterOperatorSchema]] = None

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from ........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse

@dataclass
class FunctionsGetResponse(BaseCollectionPaginationCountResponse):
class FunctionsGetResponse(BaseCollectionPaginationCountResponse, Parsable):
# The value property
value: Optional[List[AttributeMappingFunctionSchema]] = None

Expand Down
Loading
Loading