C# 클래스 PodioAPI.Services.UserService

파일 보기 프로젝트 열기: podio/podio-dotnet

공개 메소드들

메소드 설명
DeleteUserProperty ( string name ) : Task

Deletes the property for the active user with the given name. The property is specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/delete-user-property-29800

GetNotificationSetting ( string clientType, string notificationType ) : Task

Get's the setting for the given client type and notification type.

Podio API Reference: https://developers.podio.com/doc/users/get-notification-setting-3649859

GetNotificationSettings ( string clientType ) : bool>>.Task

Get's the setting for the given client type and notification type.

Podio API Reference: https://developers.podio.com/doc/users/get-notification-setting-3649859

GetProfileField ( string key ) : Task>

Returns the field of the profile for the given key from the active user. For a list of valid keys and their possible values, see the contact area.

Podio API Reference: https://developers.podio.com/doc/users/get-profile-field-22380

GetUser ( ) : Task

Gets the active user.

Podio API Reference: https://developers.podio.com/doc/users/get-user-22378

GetUserProperty ( string name ) : Task

Returns the value of the property for the active user with the given name. The property is specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/get-user-property-29798

GetUserStatus ( ) : Task

Returns the current status for the user. This includes the user data, profile data and notification data.

Podio API Reference: https://developers.podio.com/doc/users/get-user-status-22480

SetUserProperties ( object>.Dictionary properties ) : Task

Sets the values of one or more properties for the active user. The properties are specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/set-user-properties-9052829

SetUserProperty ( string name, dynamic value ) : Task

Sets the value of the property for the active user with the given name. The property is specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/set-user-property-29799

UpdateNotificationSetting ( string clientType, string notificationType, bool value ) : Task

Updates the setting for the given client type and notification type.

Podio API Reference: https://developers.podio.com/doc/users/update-notification-setting-3649918

UpdateNotificationSettings ( string clientType, bool>.Dictionary notificationTypes ) : Task

Updates the setting for the given client type

Podio API Reference: https://developers.podio.com/doc/users/update-notification-settings-3649927

UpdateProfile ( Contact updatedProfile ) : Task

Updates the fields of an existing profile. Fields not specified will not be updated. To delete a field set the value of the field to null.

Podio API Reference: https://developers.podio.com/doc/users/update-profile-22402

UpdateProfileField ( string key, string value ) : Task

Updates the specific field on the user.

Podio API Reference: https://developers.podio.com/doc/users/update-profile-field-22500

UserService ( Podio currentInstance ) : System.Collections.Generic

메소드 상세

DeleteUserProperty() 공개 메소드

Deletes the property for the active user with the given name. The property is specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/delete-user-property-29800

public DeleteUserProperty ( string name ) : Task
name string
리턴 Task

GetNotificationSetting() 공개 메소드

Get's the setting for the given client type and notification type.

Podio API Reference: https://developers.podio.com/doc/users/get-notification-setting-3649859

public GetNotificationSetting ( string clientType, string notificationType ) : Task
clientType string Client type: "email" and "mobile".
notificationType string /// Notification type: "digest", "bulletin", "reference", "message", "space", /// "subscription", "user", "reminder", "push_notification", "push_notification_sound" or "push_notification_browser". ///
리턴 Task

GetNotificationSettings() 공개 메소드

Get's the setting for the given client type and notification type.

Podio API Reference: https://developers.podio.com/doc/users/get-notification-setting-3649859

public GetNotificationSettings ( string clientType ) : bool>>.Task
clientType string Client type: "email" and "mobile".
리턴 bool>>.Task

GetProfileField() 공개 메소드

Returns the field of the profile for the given key from the active user. For a list of valid keys and their possible values, see the contact area.

Podio API Reference: https://developers.podio.com/doc/users/get-profile-field-22380

public GetProfileField ( string key ) : Task>
key string
리턴 Task>

GetUser() 공개 메소드

Gets the active user.

Podio API Reference: https://developers.podio.com/doc/users/get-user-22378

public GetUser ( ) : Task
리턴 Task

GetUserProperty() 공개 메소드

Returns the value of the property for the active user with the given name. The property is specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/get-user-property-29798

public GetUserProperty ( string name ) : Task
name string
리턴 Task

GetUserStatus() 공개 메소드

Returns the current status for the user. This includes the user data, profile data and notification data.

Podio API Reference: https://developers.podio.com/doc/users/get-user-status-22480

public GetUserStatus ( ) : Task
리턴 Task

SetUserProperties() 공개 메소드

Sets the values of one or more properties for the active user. The properties are specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/set-user-properties-9052829

public SetUserProperties ( object>.Dictionary properties ) : Task
properties object>.Dictionary The JSON object value of the property
리턴 Task

SetUserProperty() 공개 메소드

Sets the value of the property for the active user with the given name. The property is specific to the auth client used.

Podio API Reference: https://developers.podio.com/doc/users/set-user-property-29799

public SetUserProperty ( string name, dynamic value ) : Task
name string
value dynamic
리턴 Task

UpdateNotificationSetting() 공개 메소드

Updates the setting for the given client type and notification type.

Podio API Reference: https://developers.podio.com/doc/users/update-notification-setting-3649918

public UpdateNotificationSetting ( string clientType, string notificationType, bool value ) : Task
clientType string Client type: "email" and "mobile".
notificationType string /// Notification type: "digest", "bulletin", "reference", "message", "space", /// "subscription", "user", "reminder", "push_notification", "push_notification_sound" or "push_notification_browser". ///
value bool
리턴 Task

UpdateNotificationSettings() 공개 메소드

Updates the setting for the given client type

Podio API Reference: https://developers.podio.com/doc/users/update-notification-settings-3649927

public UpdateNotificationSettings ( string clientType, bool>.Dictionary notificationTypes ) : Task
clientType string Client type: "email" and "mobile".
notificationTypes bool>.Dictionary /// Notification type: "digest", "bulletin", "reference", "message", "space", /// "subscription", "user", "reminder", "push_notification", "push_notification_sound" or "push_notification_browser". ///
리턴 Task

UpdateProfile() 공개 메소드

Updates the fields of an existing profile. Fields not specified will not be updated. To delete a field set the value of the field to null.

Podio API Reference: https://developers.podio.com/doc/users/update-profile-22402

public UpdateProfile ( Contact updatedProfile ) : Task
updatedProfile PodioAPI.Models.Contact The value or list of values for the given field. For a list of fields see the contact area
리턴 Task

UpdateProfileField() 공개 메소드

Updates the specific field on the user.

Podio API Reference: https://developers.podio.com/doc/users/update-profile-field-22500

public UpdateProfileField ( string key, string value ) : Task
key string
value string The new value for the profile field.
리턴 Task

UserService() 공개 메소드

public UserService ( Podio currentInstance ) : System.Collections.Generic
currentInstance Podio
리턴 System.Collections.Generic