コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SpaceUpdate" /> class.
 /// </summary>
 /// <param name="Id">The ID is the primary key of the entity. The ID identifies the entity uniquely. (required)</param>
 /// <param name="Version">The version number indicates the version of the entity. The version is incremented whenever the entity is changed. (required)</param>
 public SpaceUpdate(string Name = default(string), long?Id = default(long?), SpaceAddressCreate PostalAddress = default(SpaceAddressCreate), long?Version = default(long?), List <string> TechnicalContactAddresses = default(List <string>), long?RequestLimit = default(long?), CreationEntityState?State = default(CreationEntityState?), string TimeZone = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new ArgumentNullException("Id is a required property for SpaceUpdate and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "Version" is required (not null)
     if (Version == null)
     {
         throw new ArgumentNullException("Version is a required property for SpaceUpdate and cannot be null");
     }
     else
     {
         this.Version = Version;
     }
     this.Name                      = Name;
     this.PostalAddress             = PostalAddress;
     this.RequestLimit              = RequestLimit;
     this.State                     = State;
     this.TechnicalContactAddresses = TechnicalContactAddresses;
     this.TimeZone                  = TimeZone;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AbstractSpaceUpdate" /> class.
 /// </summary>
 /// <param name="Name">The space name is used internally to identify the space in administrative interfaces. For example it is used within search fields and hence it should be distinct and descriptive.</param>
 /// <param name="PostalAddress">The address to use in communication with clients for example in email, documents etc.</param>
 /// <param name="RequestLimit">The request limit defines the maximum number of API request accepted within 2 minutes per cluster node. This limit can only be changed with special privileges.</param>
 /// <param name="State">State</param>
 /// <param name="TechnicalContactAddresses">The email address provided as contact addresses will be informed about technical issues or errors triggered by the space.</param>
 /// <param name="TimeZone">The time zone assigned to the space determines the time offset for calculating dates within the space. This is typically used for background processed which needs to be triggered on a specific hour within the day. Changing the space time zone will not change the display of dates.</param>
 public AbstractSpaceUpdate(string Name = default(string), SpaceAddressCreate PostalAddress = default(SpaceAddressCreate), CreationEntityState?State = default(CreationEntityState?), List <string> TechnicalContactAddresses = default(List <string>), long?RequestLimit = default(long?), string TimeZone = default(string))
 {
     this.Name                      = Name;
     this.PostalAddress             = PostalAddress;
     this.RequestLimit              = RequestLimit;
     this.State                     = State;
     this.TechnicalContactAddresses = TechnicalContactAddresses;
     this.TimeZone                  = TimeZone;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SpaceCreate" /> class.
 /// </summary>
 /// <param name="Account">The account to which the space belongs to. (required)</param>
 public SpaceCreate(long?Account = default(long?), string Name = default(string), SpaceAddressCreate PostalAddress = default(SpaceAddressCreate), List <string> TechnicalContactAddresses = default(List <string>), long?RequestLimit = default(long?), CreationEntityState?State = default(CreationEntityState?), string TimeZone = default(string))
 {
     // to ensure "Account" is required (not null)
     if (Account == null)
     {
         throw new ArgumentNullException("Account is a required property for SpaceCreate and cannot be null");
     }
     else
     {
         this.Account = Account;
     }
     this.Name                      = Name;
     this.PostalAddress             = PostalAddress;
     this.RequestLimit              = RequestLimit;
     this.State                     = State;
     this.TechnicalContactAddresses = TechnicalContactAddresses;
     this.TimeZone                  = TimeZone;
 }