File

app/dxa/dxa-entity/views/my-profile-views/my-profile.model.ts

Index

Properties

Constructor

Public constructor(country: string, email: string, password: string, preferred_username: string, city?: string, companyName?: string, consent_for_CAD_data_accepted?: boolean, consent_for_skf_events_trainings_email?: boolean, consent_for_skf_newsletter_email?: boolean, consent_for_skf_polls_surveys_email?: boolean, consent_for_skf_products_email?: boolean, consent_for_skf_solutions_offers_email?: boolean, email_verified?: boolean, family_name?: string, given_name?: string, industry?: string, phoneNumber?: string, postal_code?: string, preferred_language?: string, street?: string, pub_id?: string, user_type?: string, region?: string, state?: string)
Parameters :
Name Type Optional
country string No
email string No
password string No
preferred_username string No
city string Yes
companyName string Yes
consent_for_CAD_data_accepted boolean Yes
consent_for_skf_events_trainings_email boolean Yes
consent_for_skf_newsletter_email boolean Yes
consent_for_skf_polls_surveys_email boolean Yes
consent_for_skf_products_email boolean Yes
consent_for_skf_solutions_offers_email boolean Yes
email_verified boolean Yes
family_name string Yes
given_name string Yes
industry string Yes
phoneNumber string Yes
postal_code string Yes
preferred_language string Yes
street string Yes
pub_id string Yes
user_type string Yes
region string Yes
state string Yes

Properties

Optional city
Type : string
Optional companyName
Type : string
Optional consent_for_CAD_data_accepted
Type : boolean
Optional consent_for_skf_events_trainings_email
Type : boolean
Optional consent_for_skf_newsletter_email
Type : boolean
Optional consent_for_skf_polls_surveys_email
Type : boolean
Optional consent_for_skf_products_email
Type : boolean
Optional consent_for_skf_solutions_offers_email
Type : boolean
country
Type : string
email
Type : string
Optional email_verified
Type : boolean
Optional family_name
Type : string
Optional given_name
Type : string
Optional industry
Type : string
password
Type : string
Optional phoneNumber
Type : string
Optional postal_code
Type : string
Optional preferred_language
Type : string
preferred_username
Type : string
Optional pub_id
Type : string
Optional region
Type : string
Optional state
Type : string
Optional street
Type : string
Optional user_type
Type : string
export class User {
	country: string;
	email: string;
	password: string;
	preferred_username: string;
	city?: string;
	companyName?: string;
	consent_for_CAD_data_accepted?: boolean;
	consent_for_skf_events_trainings_email?: boolean;
	consent_for_skf_newsletter_email?: boolean;
	consent_for_skf_polls_surveys_email?: boolean;
	consent_for_skf_products_email?: boolean;
	consent_for_skf_solutions_offers_email?: boolean;
	email_verified?: boolean;
	family_name?: string;
	given_name?: string;
	industry?: string;
	phoneNumber?: string;
	postal_code?: string;
	preferred_language?: string;
	street?: string;
	pub_id?: string;
	user_type?: string;
	region?:string;
	state?: string; 

	public constructor(
		country: string,
		email: string,
		password: string,
		preferred_username: string,
		city?: string,
		companyName?: string,
		consent_for_CAD_data_accepted?: boolean,
		consent_for_skf_events_trainings_email?: boolean,
		consent_for_skf_newsletter_email?: boolean,
		consent_for_skf_polls_surveys_email?: boolean,
		consent_for_skf_products_email?: boolean,
		consent_for_skf_solutions_offers_email?: boolean,
		email_verified?: boolean,
		family_name?: string,
		given_name?: string,
		industry?: string,
		phoneNumber?: string,
		postal_code?: string,
		preferred_language?: string,
		street?: string,
		pub_id?: string,
		user_type?: string,
		region?: string,
		state?: string
	) {

		this.country = country || '';
		this.email = email || '';
		this.password = password || '';
		this.preferred_username = preferred_username || '';
		this.city = city || '';
		this.companyName = companyName || '';
		this.consent_for_CAD_data_accepted = consent_for_CAD_data_accepted || false;
		this.consent_for_skf_events_trainings_email = consent_for_skf_events_trainings_email || false;
		this.consent_for_skf_newsletter_email = consent_for_skf_newsletter_email || false;
		this.consent_for_skf_polls_surveys_email = consent_for_skf_polls_surveys_email || false;
		this.consent_for_skf_products_email = consent_for_skf_products_email || false;
		this.consent_for_skf_solutions_offers_email = consent_for_skf_solutions_offers_email || false;
		this.email_verified = email_verified || false;
		this.family_name = family_name || '';
		this.given_name = given_name || '';
		this.industry = industry || '';
		this.phoneNumber = phoneNumber || '';
		this.postal_code = postal_code || '';
		this.preferred_language = preferred_language || '';
		this.street = street || '';
		this.pub_id = pub_id || '';
		this.user_type = user_type || '';
		this.region = region || '';
		this.state = state || '';
	}
}

result-matching ""

    No results matching ""