
import properties

from .. import BaseModel


class Folder(BaseModel):

    name = properties.String(
        'Folder name',
        required=True,
    )
    type = properties.StringChoice(
        'The type of folder.',
        choices=['needsattention',
                 'drafts',
                 'assigned',
                 'open',
                 'closed',
                 'spam',
                 'mine',
                 ],
        default='drafts',
        required=True,
    )
    user_id = properties.Integer(
        'If the folder type is ``MyTickets``, this represents the Help Scout '
        'user to which this folder belongs. Otherwise it is empty.',
    )
    total_count = properties.Integer(
        'Total number of conversations in this folder.',
    )
    active_count = properties.Integer(
        'Total number of conversations in this folder that are in an active '
        'state (vs pending).',
    )
    modified_at = properties.DateTime(
        'UTC time when this folder was modified.',
    )


import properties

from .. import BaseModel


class Folder(BaseModel):

    name = properties.String(
        'Folder name',
        required=True,
    )
    type = properties.StringChoice(
        'The type of folder.',
        choices=['needsattention',
                 'drafts',
                 'assigned',
                 'open',
                 'closed',
                 'spam',
                 'mine',
                 'team',
                 ],
        default='drafts',
        required=True,
    )
    user_id = properties.Integer(
        'If the folder type is ``MyTickets``, this represents the Help Scout '
        'user to which this folder belongs. Otherwise it is empty.',
    )
    total_count = properties.Integer(
        'Total number of conversations in this folder.',
    )
    active_count = properties.Integer(
        'Total number of conversations in this folder that are in an active '
        'state (vs pending).',
    )
    modified_at = properties.DateTime(
        'UTC time when this folder was modified.',
    )

Add 'team' to Folder type options
[ADD] Add 'team' to Folder type options

  
  import properties
  
  from .. import BaseModel
  
  
  class Folder(BaseModel):
  
      name = properties.String(
          'Folder name',
          required=True,
      )
      type = properties.StringChoice(
          'The type of folder.',
          choices=['needsattention',
                   'drafts',
                   'assigned',
                   'open',
                   'closed',
                   'spam',
                   'mine',
+                  'team',
                   ],
          default='drafts',
          required=True,
      )
      user_id = properties.Integer(
          'If the folder type is ``MyTickets``, this represents the Help Scout '
          'user to which this folder belongs. Otherwise it is empty.',
      )
      total_count = properties.Integer(
          'Total number of conversations in this folder.',
      )
      active_count = properties.Integer(
          'Total number of conversations in this folder that are in an active '
          'state (vs pending).',
      )
      modified_at = properties.DateTime(
          'UTC time when this folder was modified.',
      )
  
Add 'team' to Folder type options
## Code Before:

import properties

from .. import BaseModel


class Folder(BaseModel):

    name = properties.String(
        'Folder name',
        required=True,
    )
    type = properties.StringChoice(
        'The type of folder.',
        choices=['needsattention',
                 'drafts',
                 'assigned',
                 'open',
                 'closed',
                 'spam',
                 'mine',
                 ],
        default='drafts',
        required=True,
    )
    user_id = properties.Integer(
        'If the folder type is ``MyTickets``, this represents the Help Scout '
        'user to which this folder belongs. Otherwise it is empty.',
    )
    total_count = properties.Integer(
        'Total number of conversations in this folder.',
    )
    active_count = properties.Integer(
        'Total number of conversations in this folder that are in an active '
        'state (vs pending).',
    )
    modified_at = properties.DateTime(
        'UTC time when this folder was modified.',
    )

## Instruction:
Add 'team' to Folder type options
## Code After:

import properties

from .. import BaseModel


class Folder(BaseModel):

    name = properties.String(
        'Folder name',
        required=True,
    )
    type = properties.StringChoice(
        'The type of folder.',
        choices=['needsattention',
                 'drafts',
                 'assigned',
                 'open',
                 'closed',
                 'spam',
                 'mine',
                 'team',
                 ],
        default='drafts',
        required=True,
    )
    user_id = properties.Integer(
        'If the folder type is ``MyTickets``, this represents the Help Scout '
        'user to which this folder belongs. Otherwise it is empty.',
    )
    total_count = properties.Integer(
        'Total number of conversations in this folder.',
    )
    active_count = properties.Integer(
        'Total number of conversations in this folder that are in an active '
        'state (vs pending).',
    )
    modified_at = properties.DateTime(
        'UTC time when this folder was modified.',
    )
