Example #1
0
    def __init__(self,
                 id=None,
                 repository_name=None,
                 last_export_to_bitbucket_at=None,
                 last_import_from_bitbucket_at=None,
                 valid_phraseapp_yaml=None,
                 phraseapp_projects=None,
                 local_vars_configuration=None):  # noqa: E501
        """BitbucketSync - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._repository_name = None
        self._last_export_to_bitbucket_at = None
        self._last_import_from_bitbucket_at = None
        self._valid_phraseapp_yaml = None
        self._phraseapp_projects = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if repository_name is not None:
            self.repository_name = repository_name
        if last_export_to_bitbucket_at is not None:
            self.last_export_to_bitbucket_at = last_export_to_bitbucket_at
        if last_import_from_bitbucket_at is not None:
            self.last_import_from_bitbucket_at = last_import_from_bitbucket_at
        if valid_phraseapp_yaml is not None:
            self.valid_phraseapp_yaml = valid_phraseapp_yaml
        if phraseapp_projects is not None:
            self.phraseapp_projects = phraseapp_projects
    def __init__(self,
                 branch=None,
                 q=None,
                 target_locale_id=None,
                 tags=None,
                 local_vars_configuration=None):  # noqa: E501
        """KeysIncludeParameters - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._branch = None
        self._q = None
        self._target_locale_id = None
        self._tags = None
        self.discriminator = None

        if branch is not None:
            self.branch = branch
        if q is not None:
            self.q = q
        if target_locale_id is not None:
            self.target_locale_id = target_locale_id
        if tags is not None:
            self.tags = tags
Example #3
0
    def __init__(self, keys_total_count=None, keys_untranslated_count=None, words_total_count=None, translations_completed_count=None, translations_unverified_count=None, unverified_words_count=None, missing_words_count=None, local_vars_configuration=None):  # noqa: E501
        """LocaleStatistics - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._keys_total_count = None
        self._keys_untranslated_count = None
        self._words_total_count = None
        self._translations_completed_count = None
        self._translations_unverified_count = None
        self._unverified_words_count = None
        self._missing_words_count = None
        self.discriminator = None

        if keys_total_count is not None:
            self.keys_total_count = keys_total_count
        if keys_untranslated_count is not None:
            self.keys_untranslated_count = keys_untranslated_count
        if words_total_count is not None:
            self.words_total_count = words_total_count
        if translations_completed_count is not None:
            self.translations_completed_count = translations_completed_count
        if translations_unverified_count is not None:
            self.translations_unverified_count = translations_unverified_count
        if unverified_words_count is not None:
            self.unverified_words_count = unverified_words_count
        if missing_words_count is not None:
            self.missing_words_count = missing_words_count
Example #4
0
    def __init__(self,
                 term=None,
                 description=None,
                 translatable=None,
                 case_sensitive=None,
                 local_vars_configuration=None):  # noqa: E501
        """GlossaryTermUpdateParameters - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._term = None
        self._description = None
        self._translatable = None
        self._case_sensitive = None
        self.discriminator = None

        if term is not None:
            self.term = term
        if description is not None:
            self.description = description
        if translatable is not None:
            self.translatable = translatable
        if case_sensitive is not None:
            self.case_sensitive = case_sensitive
Example #5
0
    def __init__(self,
                 query=None,
                 locale_code=None,
                 page=None,
                 per_page=None,
                 local_vars_configuration=None):  # noqa: E501
        """SearchInAccountParameters - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._query = None
        self._locale_code = None
        self._page = None
        self._per_page = None
        self.discriminator = None

        if query is not None:
            self.query = query
        if locale_code is not None:
            self.locale_code = locale_code
        if page is not None:
            self.page = page
        if per_page is not None:
            self.per_page = per_page
Example #6
0
    def __init__(self,
                 callback_url=None,
                 secret=None,
                 description=None,
                 events=None,
                 active=None,
                 include_branches=None,
                 local_vars_configuration=None):  # noqa: E501
        """WebhookUpdateParameters - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._callback_url = None
        self._secret = None
        self._description = None
        self._events = None
        self._active = None
        self._include_branches = None
        self.discriminator = None

        if callback_url is not None:
            self.callback_url = callback_url
        if secret is not None:
            self.secret = secret
        if description is not None:
            self.description = description
        if events is not None:
            self.events = events
        if active is not None:
            self.active = active
        if include_branches is not None:
            self.include_branches = include_branches
Example #7
0
    def __init__(self,
                 name=None,
                 keys_count=None,
                 created_at=None,
                 updated_at=None,
                 statistics=None,
                 local_vars_configuration=None):  # noqa: E501
        """TagWithStats - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._keys_count = None
        self._created_at = None
        self._updated_at = None
        self._statistics = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if keys_count is not None:
            self.keys_count = keys_count
        if created_at is not None:
            self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
        if statistics is not None:
            self.statistics = statistics
    def __init__(self, role=None, project_ids=None, locale_ids=None, space_ids=None, default_locale_codes=None, permissions=None, local_vars_configuration=None):  # noqa: E501
        """InvitationUpdateParameters - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._role = None
        self._project_ids = None
        self._locale_ids = None
        self._space_ids = None
        self._default_locale_codes = None
        self._permissions = None
        self.discriminator = None

        if role is not None:
            self.role = role
        if project_ids is not None:
            self.project_ids = project_ids
        if locale_ids is not None:
            self.locale_ids = locale_ids
        if space_ids is not None:
            self.space_ids = space_ids
        if default_locale_codes is not None:
            self.default_locale_codes = default_locale_codes
        if permissions is not None:
            self.permissions = permissions
Example #9
0
    def __init__(self,
                 id=None,
                 name=None,
                 main_format=None,
                 created_at=None,
                 updated_at=None,
                 locales=None,
                 local_vars_configuration=None):  # noqa: E501
        """ProjectLocales - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._main_format = None
        self._created_at = None
        self._updated_at = None
        self._locales = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if main_format is not None:
            self.main_format = main_format
        if created_at is not None:
            self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
        if locales is not None:
            self.locales = locales
Example #10
0
    def __init__(self,
                 id=None,
                 name=None,
                 slug=None,
                 company=None,
                 created_at=None,
                 updated_at=None,
                 local_vars_configuration=None):  # noqa: E501
        """Account - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._slug = None
        self._company = None
        self._created_at = None
        self._updated_at = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if slug is not None:
            self.slug = slug
        if company is not None:
            self.company = company
        if created_at is not None:
            self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
Example #11
0
    def __init__(self,
                 owner=None,
                 job_tag_name=None,
                 locales=None,
                 keys=None,
                 local_vars_configuration=None):  # noqa: E501
        """JobDetails1 - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._owner = None
        self._job_tag_name = None
        self._locales = None
        self._keys = None
        self.discriminator = None

        if owner is not None:
            self.owner = owner
        if job_tag_name is not None:
            self.job_tag_name = job_tag_name
        if locales is not None:
            self.locales = locales
        if keys is not None:
            self.keys = keys
    def __init__(self,
                 branch=None,
                 content=None,
                 plural_suffix=None,
                 unverified=None,
                 excluded=None,
                 autotranslate=None,
                 local_vars_configuration=None):  # noqa: E501
        """TranslationUpdateParameters - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._branch = None
        self._content = None
        self._plural_suffix = None
        self._unverified = None
        self._excluded = None
        self._autotranslate = None
        self.discriminator = None

        if branch is not None:
            self.branch = branch
        if content is not None:
            self.content = content
        if plural_suffix is not None:
            self.plural_suffix = plural_suffix
        if unverified is not None:
            self.unverified = unverified
        if excluded is not None:
            self.excluded = excluded
        if autotranslate is not None:
            self.autotranslate = autotranslate
Example #13
0
    def __init__(self,
                 branch=None,
                 name=None,
                 description=None,
                 filename=None,
                 local_vars_configuration=None):  # noqa: E501
        """ScreenshotUpdateParameters - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._branch = None
        self._name = None
        self._description = None
        self._filename = None
        self.discriminator = None

        if branch is not None:
            self.branch = branch
        if name is not None:
            self.name = name
        if description is not None:
            self.description = description
        if filename is not None:
            self.filename = filename
    def __init__(self,
                 status=None,
                 action=None,
                 errors=None,
                 date=None,
                 details=None,
                 local_vars_configuration=None):  # noqa: E501
        """GitlabSyncHistory - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._status = None
        self._action = None
        self._errors = None
        self._date = None
        self._details = None
        self.discriminator = None

        if status is not None:
            self.status = status
        if action is not None:
            self.action = action
        if errors is not None:
            self.errors = errors
        if date is not None:
            self.date = date
        if details is not None:
            self.details = details
Example #15
0
    def __init__(self, id=None, username=None, name=None, position=None, created_at=None, updated_at=None, local_vars_configuration=None):  # noqa: E501
        """User - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._username = None
        self._name = None
        self._position = None
        self._created_at = None
        self._updated_at = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if username is not None:
            self.username = username
        if name is not None:
            self.name = name
        if position is not None:
            self.position = position
        if created_at is not None:
            self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
Example #16
0
    def __init__(self,
                 id=None,
                 name=None,
                 projects=None,
                 created_at=None,
                 updated_at=None,
                 local_vars_configuration=None):  # noqa: E501
        """Glossary - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._projects = None
        self._created_at = None
        self._updated_at = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if projects is not None:
            self.projects = projects
        if created_at is not None:
            self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
Example #17
0
    def __init__(self, id=None, term=None, description=None, translatable=None, case_sensitive=None, translations=None, created_at=None, updated_at=None, local_vars_configuration=None):  # noqa: E501
        """GlossaryTerm - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._term = None
        self._description = None
        self._translatable = None
        self._case_sensitive = None
        self._translations = None
        self._created_at = None
        self._updated_at = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if term is not None:
            self.term = term
        if description is not None:
            self.description = description
        if translatable is not None:
            self.translatable = translatable
        if case_sensitive is not None:
            self.case_sensitive = case_sensitive
        if translations is not None:
            self.translations = translations
        if created_at is not None:
            self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
Example #18
0
    def __init__(self,
                 id=None,
                 title=None,
                 created_at=None,
                 updated_at=None,
                 local_vars_configuration=None):  # noqa: E501
        """Styleguide - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._title = None
        self._created_at = None
        self._updated_at = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if title is not None:
            self.title = title
        if created_at is not None:
            self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
Example #19
0
    def __init__(self,
                 id=None,
                 message=None,
                 user=None,
                 created_at=None,
                 updated_at=None,
                 local_vars_configuration=None):  # noqa: E501
        """Comment - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._message = None
        self._user = None
        self._created_at = None
        self._updated_at = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if message is not None:
            self.message = message
        if user is not None:
            self.user = user
        if created_at is not None:
            self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
    def __init__(self,
                 branch=None,
                 name=None,
                 briefing=None,
                 due_date=None,
                 ticket_url=None,
                 local_vars_configuration=None):  # noqa: E501
        """JobUpdateParameters - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._branch = None
        self._name = None
        self._briefing = None
        self._due_date = None
        self._ticket_url = None
        self.discriminator = None

        if branch is not None:
            self.branch = branch
        if name is not None:
            self.name = name
        if briefing is not None:
            self.briefing = briefing
        if due_date is not None:
            self.due_date = due_date
        if ticket_url is not None:
            self.ticket_url = ticket_url
    def __init__(self,
                 id=None,
                 event_name=None,
                 created_at=None,
                 updated_at=None,
                 local_vars_configuration=None):  # noqa: E501
        """NotificationGroup - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._event_name = None
        self._created_at = None
        self._updated_at = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if event_name is not None:
            self.event_name = event_name
        if created_at is not None:
            self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
Example #22
0
    def __init__(self,
                 id=None,
                 job=None,
                 locale=None,
                 users=None,
                 completed=None,
                 local_vars_configuration=None):  # noqa: E501
        """JobLocale - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._job = None
        self._locale = None
        self._users = None
        self._completed = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if job is not None:
            self.job = job
        if locale is not None:
            self.locale = locale
        if users is not None:
            self.users = users
        if completed is not None:
            self.completed = completed
Example #23
0
    def __init__(self,
                 id=None,
                 presentation=None,
                 presentation_type=None,
                 created_at=None,
                 updated_at=None,
                 translation_key=None,
                 local_vars_configuration=None):  # noqa: E501
        """ScreenshotMarker - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._presentation = None
        self._presentation_type = None
        self._created_at = None
        self._updated_at = None
        self._translation_key = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if presentation is not None:
            self.presentation = presentation
        if presentation_type is not None:
            self.presentation_type = presentation_type
        if created_at is not None:
            self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
        if translation_key is not None:
            self.translation_key = translation_key
Example #24
0
    def __init__(self,
                 branch=None,
                 sort=None,
                 order=None,
                 q=None,
                 local_vars_configuration=None):  # noqa: E501
        """TranslationsSearchParameters - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._branch = None
        self._sort = None
        self._order = None
        self._q = None
        self.discriminator = None

        if branch is not None:
            self.branch = branch
        if sort is not None:
            self.sort = sort
        if order is not None:
            self.order = order
        if q is not None:
            self.q = q
    def __init__(self, branch=None, local_vars_configuration=None):  # noqa: E501
        """CommentMarkReadParameters - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._branch = None
        self.discriminator = None

        if branch is not None:
            self.branch = branch
Example #26
0
    def __init__(self, id=None, local_vars_configuration=None):  # noqa: E501
        """TeamsUsersCreateParameters - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self.discriminator = None

        if id is not None:
            self.id = id
    def __init__(self, name=None, local_vars_configuration=None):  # noqa: E501
        """BranchUpdateParameters - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self.discriminator = None

        if name is not None:
            self.name = name
    def __init__(self, project_id=None, local_vars_configuration=None):  # noqa: E501
        """GithubSyncImportParameters - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._project_id = None
        self.discriminator = None

        if project_id is not None:
            self.project_id = project_id
Example #29
0
    def __init__(self, slug=None, local_vars_configuration=None):  # noqa: E501
        """AccountDetails1 - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._slug = None
        self.discriminator = None

        if slug is not None:
            self.slug = slug
Example #30
0
    def __init__(self, user=None, local_vars_configuration=None):  # noqa: E501
        """TranslationVersionWithUser1 - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._user = None
        self.discriminator = None

        if user is not None:
            self.user = user