async def get(self,request_configuration: Optional[RequestConfiguration[AttributeSetsRequestBuilderGetQueryParameters]] = None) -> Optional[AttributeSetCollectionResponse]:
        """
        Get a list of the attributeSet objects and their properties.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[AttributeSetCollectionResponse]
        Find more info here: https://learn.microsoft.com/graph/api/directory-list-attributesets?view=graph-rest-1.0
        """
        request_info = self.to_get_request_information(
            request_configuration
        )
        from ...models.o_data_errors.o_data_error import ODataError

        error_mapping: dict[str, type[ParsableFactory]] = {
            "XXX": ODataError,
        }
        if not self.request_adapter:
            raise Exception("Http core is null") 
        from ...models.attribute_set_collection_response import AttributeSetCollectionResponse

        return await self.request_adapter.send_async(request_info, AttributeSetCollectionResponse, error_mapping)

        Get a list of the attributeSet objects and their properties.
        param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
        Returns: Optional[AttributeSetCollectionResponse]
        Find more info here: https://learn.microsoft.com/graph/api/directory-list-attributesets?view=graph-rest-1.0
        
msgraph/generated/directory/attribute_sets/attribute_sets_request_builder.py