Class DiscussionCreationRecipient

Hierarchy (view full)

Constructors

  • Parameters

    • data: {
          G: PronoteApiUserResourceType;
          L: string;
          N: string;
          P: number;
          avecDiscussion?: boolean;
          estPrincipal?: boolean;
          listeRessources: PronoteValue<24, ({
              L: string;
              N: string;
              estUneSousMatiere?: boolean;
          } & {
              estUneSousMatiere: true;
              libelleMatiere: string;
          })[]>;
      }
      • G: PronoteApiUserResourceType
      • L: string
      • N: string
      • P: number
      • Optional avecDiscussion?: boolean

        Whether this user can discuss with the current user.

      • Optional estPrincipal?: boolean

        Whether this user is the "Professeur Principal"

      • listeRessources: PronoteValue<24, ({
            L: string;
            N: string;
            estUneSousMatiere?: boolean;
        } & {
            estUneSousMatiere: true;
            libelleMatiere: string;
        })[]>

    Returns DiscussionCreationRecipient

Properties

#id: string
#isPrincipal: boolean
#name: string
#subjects: DiscussionCreationRecipientResource[]
#type: PronoteApiUserResourceType

Accessors

  • get subjects(): DiscussionCreationRecipientResource[]
  • Returns DiscussionCreationRecipientResource[]

  • get type(): PronoteApiUserResourceType
  • Returns PronoteApiUserResourceType