Home Reference Source
import ModifyUser from '~/models/Request/ModifyUser.js'
public class | source

ModifyUser

Extends:

js/models/models/Request/Request.js~Request → ModifyUser

Adjusts user config

Constructor Summary

Public Constructor
public

constructor(profile: Object)

Requires authorization

Method Summary

Public Methods
public

format()

Public Constructors

public constructor(profile: Object) source

Requires authorization

Params:

NameTypeAttributeDescription
profile Object
profile.email string
  • nullable: true

User email

profile.name string
  • nullable: true

User display name

profile.followingIsPublic boolean
  • nullable: true

If following is public

profile.linkedStackexchangeIsPublic boolean
  • nullable: true

If linked SE accounts are public

profile.notifications boolean
  • nullable: true

If user wants notifications

Public Methods

public format() source