Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0
- // Changes may cause incorrect behavior and will be lost if the code is regenerated.
- using System;
- using System.Linq;
- using Newtonsoft.Json.Linq;
- namespace Iris.Identity.Client.Models
- {
- public partial class CreateUserRequest
- {
- private string _username;
- /// <summary>
- /// Optional.
- /// </summary>
- public string Username
- {
- get { return this._username; }
- set { this._username = value; }
- }
- private string _password;
- /// <summary>
- /// Optional.
- /// </summary>
- public string Password
- {
- get { return this._password; }
- set { this._password = value; }
- }
- private string _email;
- /// <summary>
- /// Optional.
- /// </summary>
- public string Email
- {
- get { return this._email; }
- set { this._email = value; }
- }
- /// <summary>
- /// Initializes a new instance of the CreateUserRequest class.
- /// </summary>
- public CreateUserRequest()
- {
- }
- /// <summary>
- /// Serialize the object
- /// </summary>
- /// <returns>
- /// Returns the json model for the type CreateUserRequest
- /// </returns>
- public virtual JToken SerializeJson(JToken outputObject)
- {
- if (outputObject == null)
- {
- outputObject = new JObject();
- }
- if (this.Username != null)
- {
- outputObject["Username"] = this.Username;
- }
- if (this.Password != null)
- {
- outputObject["Password"] = this.Password;
- }
- if (this.Email != null)
- {
- outputObject["Email"] = this.Email;
- }
- return outputObject;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement