Source code for pathgather.models.user

# -*- coding: utf-8 -*-
# Licensed to Anthony Shaw (anthonyshaw@apache.org) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from attr import attrs, attrib


[docs]@attrs class User(object): id = attrib() first_name = attrib() last_name = attrib() created_at = attrib() email = attrib() job_title = attrib() deactivated = attrib() admin = attrib(default=None) name = attrib(default=None) description = attrib(default="") avatar = attrib(default=None) url = attrib(default=None) job_function = attrib(default=None) username = attrib(default=None) slug = attrib(default=None) updated_at = attrib(default=None) active_at = attrib(default=None) active_at_unix = attrib(default=None) secure_images = attrib(default=None) linkedin_url = attrib(default=None) public_courses_started_count = attrib(default=0) public_courses_completed_count = attrib(default=0) public_paths_started_count = attrib(default=0) public_paths_completed_count = attrib(default=0) user_interests = attrib(default=0) learning_history_public_default = attrib(default=0) language = attrib(default=None) skills = attrib(default=None) company_admin = attrib(default=False) company_admin_scope = attrib(default=None) saml_id = attrib(default=None) requires_password_auth = attrib(default=None) followers_count = attrib(default=0) following_count = attrib(default=0) score = attrib(default=0) hire_date = attrib(default=None) location = attrib(default=None) last_active_at = attrib(default=None) department = attrib(default=None) user_skills = attrib(default=None) custom_id = attrib(default=None) custom_fields = attrib(default=None)