/// <summary> /// Initializes a new instance of the <see cref="InlineResponse2005" /> class. /// </summary> /// <param name="deletedAt">deletedAt (required).</param> /// <param name="networkId">networkId (required).</param> /// <param name="name">name (required).</param> /// <param name="updatedAt">updatedAt (required).</param> /// <param name="model">model (required).</param> /// <param name="zitiId">zitiId (required).</param> /// <param name="ownerIdentityId">ownerIdentityId (required).</param> /// <param name="attributes">attributes (required).</param> /// <param name="modelType">modelType (required).</param> /// <param name="id">id (required).</param> /// <param name="configIdByConfigTypeId">configIdByConfigTypeId (required).</param> /// <param name="createdAt">createdAt (required).</param> /// <param name="createdBy">createdBy (required).</param> /// <param name="deletedBy">deletedBy (required).</param> /// <param name="encryptionRequired">encryptionRequired (required).</param> /// <param name="authority">authority (required).</param> /// <param name="links">links (required).</param> public InlineResponse2005(AnyType deletedAt = default(AnyType), string networkId = default(string), string name = default(string), string updatedAt = default(string), InlineResponse2003EmbeddedModel model = default(InlineResponse2003EmbeddedModel), string zitiId = default(string), string ownerIdentityId = default(string), List <string> attributes = default(List <string>), string modelType = default(string), string id = default(string), InlineResponse2005ConfigIdByConfigTypeId configIdByConfigTypeId = default(InlineResponse2005ConfigIdByConfigTypeId), string createdAt = default(string), string createdBy = default(string), AnyType deletedBy = default(AnyType), bool encryptionRequired = default(bool), AnyType authority = default(AnyType), InlineResponse200Links links = default(InlineResponse200Links)) { // to ensure "deletedAt" is required (not null) if (deletedAt == null) { throw new InvalidDataException("deletedAt is a required property for InlineResponse2005 and cannot be null"); } else { this.DeletedAt = deletedAt; } // to ensure "networkId" is required (not null) if (networkId == null) { throw new InvalidDataException("networkId is a required property for InlineResponse2005 and cannot be null"); } else { this.NetworkId = networkId; } // to ensure "name" is required (not null) if (name == null) { throw new InvalidDataException("name is a required property for InlineResponse2005 and cannot be null"); } else { this.Name = name; } // to ensure "updatedAt" is required (not null) if (updatedAt == null) { throw new InvalidDataException("updatedAt is a required property for InlineResponse2005 and cannot be null"); } else { this.UpdatedAt = updatedAt; } // to ensure "model" is required (not null) if (model == null) { throw new InvalidDataException("model is a required property for InlineResponse2005 and cannot be null"); } else { this.Model = model; } // to ensure "zitiId" is required (not null) if (zitiId == null) { throw new InvalidDataException("zitiId is a required property for InlineResponse2005 and cannot be null"); } else { this.ZitiId = zitiId; } // to ensure "ownerIdentityId" is required (not null) if (ownerIdentityId == null) { throw new InvalidDataException("ownerIdentityId is a required property for InlineResponse2005 and cannot be null"); } else { this.OwnerIdentityId = ownerIdentityId; } // to ensure "attributes" is required (not null) if (attributes == null) { throw new InvalidDataException("attributes is a required property for InlineResponse2005 and cannot be null"); } else { this.Attributes = attributes; } // to ensure "modelType" is required (not null) if (modelType == null) { throw new InvalidDataException("modelType is a required property for InlineResponse2005 and cannot be null"); } else { this.ModelType = modelType; } // to ensure "id" is required (not null) if (id == null) { throw new InvalidDataException("id is a required property for InlineResponse2005 and cannot be null"); } else { this.Id = id; } // to ensure "configIdByConfigTypeId" is required (not null) if (configIdByConfigTypeId == null) { throw new InvalidDataException("configIdByConfigTypeId is a required property for InlineResponse2005 and cannot be null"); } else { this.ConfigIdByConfigTypeId = configIdByConfigTypeId; } // to ensure "createdAt" is required (not null) if (createdAt == null) { throw new InvalidDataException("createdAt is a required property for InlineResponse2005 and cannot be null"); } else { this.CreatedAt = createdAt; } // to ensure "createdBy" is required (not null) if (createdBy == null) { throw new InvalidDataException("createdBy is a required property for InlineResponse2005 and cannot be null"); } else { this.CreatedBy = createdBy; } // to ensure "deletedBy" is required (not null) if (deletedBy == null) { throw new InvalidDataException("deletedBy is a required property for InlineResponse2005 and cannot be null"); } else { this.DeletedBy = deletedBy; } // to ensure "encryptionRequired" is required (not null) if (encryptionRequired == null) { throw new InvalidDataException("encryptionRequired is a required property for InlineResponse2005 and cannot be null"); } else { this.EncryptionRequired = encryptionRequired; } // to ensure "authority" is required (not null) if (authority == null) { throw new InvalidDataException("authority is a required property for InlineResponse2005 and cannot be null"); } else { this.Authority = authority; } // to ensure "links" is required (not null) if (links == null) { throw new InvalidDataException("links is a required property for InlineResponse2005 and cannot be null"); } else { this.Links = links; } }
/// <summary> /// Initializes a new instance of the <see cref="InlineResponse2008" /> class. /// </summary> /// <param name="mfaEnabled">mfaEnabled (required).</param> /// <param name="deletedAt">deletedAt (required).</param> /// <param name="networkId">networkId (required).</param> /// <param name="name">name (required).</param> /// <param name="updatedAt">updatedAt (required).</param> /// <param name="syncId">syncId (required).</param> /// <param name="sessionIdentityId">sessionIdentityId (required).</param> /// <param name="osRelease">osRelease (required).</param> /// <param name="syncResourceId">syncResourceId (required).</param> /// <param name="zitiId">zitiId (required).</param> /// <param name="appVersion">appVersion (required).</param> /// <param name="branch">branch (required).</param> /// <param name="os">os (required).</param> /// <param name="ownerIdentityId">ownerIdentityId (required).</param> /// <param name="hasEdgeRouterConnection">hasEdgeRouterConnection (required).</param> /// <param name="attributes">attributes (required).</param> /// <param name="hasApiSession">hasApiSession (required).</param> /// <param name="revision">revision (required).</param> /// <param name="version">version (required).</param> /// <param name="jwt">jwt (required).</param> /// <param name="id">id (required).</param> /// <param name="sessionActive">sessionActive (required).</param> /// <param name="jwtExpiresAt">jwtExpiresAt (required).</param> /// <param name="createdAt">createdAt (required).</param> /// <param name="arch">arch (required).</param> /// <param name="createdBy">createdBy (required).</param> /// <param name="deletedBy">deletedBy (required).</param> /// <param name="type">type (required).</param> /// <param name="osVersion">osVersion (required).</param> /// <param name="appId">appId (required).</param> /// <param name="links">links (required).</param> public InlineResponse2008(bool mfaEnabled = default(bool), AnyType deletedAt = default(AnyType), string networkId = default(string), string name = default(string), string updatedAt = default(string), AnyType syncId = default(AnyType), AnyType sessionIdentityId = default(AnyType), AnyType osRelease = default(AnyType), AnyType syncResourceId = default(AnyType), string zitiId = default(string), AnyType appVersion = default(AnyType), AnyType branch = default(AnyType), AnyType os = default(AnyType), string ownerIdentityId = default(string), bool hasEdgeRouterConnection = default(bool), List <string> attributes = default(List <string>), bool hasApiSession = default(bool), AnyType revision = default(AnyType), AnyType version = default(AnyType), string jwt = default(string), string id = default(string), bool sessionActive = default(bool), string jwtExpiresAt = default(string), string createdAt = default(string), AnyType arch = default(AnyType), string createdBy = default(string), AnyType deletedBy = default(AnyType), AnyType type = default(AnyType), AnyType osVersion = default(AnyType), AnyType appId = default(AnyType), InlineResponse200Links links = default(InlineResponse200Links)) { // to ensure "mfaEnabled" is required (not null) if (mfaEnabled == null) { throw new InvalidDataException("mfaEnabled is a required property for InlineResponse2008 and cannot be null"); } else { this.MfaEnabled = mfaEnabled; } // to ensure "deletedAt" is required (not null) if (deletedAt == null) { throw new InvalidDataException("deletedAt is a required property for InlineResponse2008 and cannot be null"); } else { this.DeletedAt = deletedAt; } // to ensure "networkId" is required (not null) if (networkId == null) { throw new InvalidDataException("networkId is a required property for InlineResponse2008 and cannot be null"); } else { this.NetworkId = networkId; } // to ensure "name" is required (not null) if (name == null) { throw new InvalidDataException("name is a required property for InlineResponse2008 and cannot be null"); } else { this.Name = name; } // to ensure "updatedAt" is required (not null) if (updatedAt == null) { throw new InvalidDataException("updatedAt is a required property for InlineResponse2008 and cannot be null"); } else { this.UpdatedAt = updatedAt; } // to ensure "syncId" is required (not null) if (syncId == null) { throw new InvalidDataException("syncId is a required property for InlineResponse2008 and cannot be null"); } else { this.SyncId = syncId; } // to ensure "sessionIdentityId" is required (not null) if (sessionIdentityId == null) { throw new InvalidDataException("sessionIdentityId is a required property for InlineResponse2008 and cannot be null"); } else { this.SessionIdentityId = sessionIdentityId; } // to ensure "osRelease" is required (not null) if (osRelease == null) { throw new InvalidDataException("osRelease is a required property for InlineResponse2008 and cannot be null"); } else { this.OsRelease = osRelease; } // to ensure "syncResourceId" is required (not null) if (syncResourceId == null) { throw new InvalidDataException("syncResourceId is a required property for InlineResponse2008 and cannot be null"); } else { this.SyncResourceId = syncResourceId; } // to ensure "zitiId" is required (not null) if (zitiId == null) { throw new InvalidDataException("zitiId is a required property for InlineResponse2008 and cannot be null"); } else { this.ZitiId = zitiId; } // to ensure "appVersion" is required (not null) if (appVersion == null) { throw new InvalidDataException("appVersion is a required property for InlineResponse2008 and cannot be null"); } else { this.AppVersion = appVersion; } // to ensure "branch" is required (not null) if (branch == null) { throw new InvalidDataException("branch is a required property for InlineResponse2008 and cannot be null"); } else { this.Branch = branch; } // to ensure "os" is required (not null) if (os == null) { throw new InvalidDataException("os is a required property for InlineResponse2008 and cannot be null"); } else { this.Os = os; } // to ensure "ownerIdentityId" is required (not null) if (ownerIdentityId == null) { throw new InvalidDataException("ownerIdentityId is a required property for InlineResponse2008 and cannot be null"); } else { this.OwnerIdentityId = ownerIdentityId; } // to ensure "hasEdgeRouterConnection" is required (not null) if (hasEdgeRouterConnection == null) { throw new InvalidDataException("hasEdgeRouterConnection is a required property for InlineResponse2008 and cannot be null"); } else { this.HasEdgeRouterConnection = hasEdgeRouterConnection; } // to ensure "attributes" is required (not null) if (attributes == null) { throw new InvalidDataException("attributes is a required property for InlineResponse2008 and cannot be null"); } else { this.Attributes = attributes; } // to ensure "hasApiSession" is required (not null) if (hasApiSession == null) { throw new InvalidDataException("hasApiSession is a required property for InlineResponse2008 and cannot be null"); } else { this.HasApiSession = hasApiSession; } // to ensure "revision" is required (not null) if (revision == null) { throw new InvalidDataException("revision is a required property for InlineResponse2008 and cannot be null"); } else { this.Revision = revision; } // to ensure "version" is required (not null) if (version == null) { throw new InvalidDataException("version is a required property for InlineResponse2008 and cannot be null"); } else { this.Version = version; } // to ensure "jwt" is required (not null) if (jwt == null) { throw new InvalidDataException("jwt is a required property for InlineResponse2008 and cannot be null"); } else { this.Jwt = jwt; } // to ensure "id" is required (not null) if (id == null) { throw new InvalidDataException("id is a required property for InlineResponse2008 and cannot be null"); } else { this.Id = id; } // to ensure "sessionActive" is required (not null) if (sessionActive == null) { throw new InvalidDataException("sessionActive is a required property for InlineResponse2008 and cannot be null"); } else { this.SessionActive = sessionActive; } // to ensure "jwtExpiresAt" is required (not null) if (jwtExpiresAt == null) { throw new InvalidDataException("jwtExpiresAt is a required property for InlineResponse2008 and cannot be null"); } else { this.JwtExpiresAt = jwtExpiresAt; } // to ensure "createdAt" is required (not null) if (createdAt == null) { throw new InvalidDataException("createdAt is a required property for InlineResponse2008 and cannot be null"); } else { this.CreatedAt = createdAt; } // to ensure "arch" is required (not null) if (arch == null) { throw new InvalidDataException("arch is a required property for InlineResponse2008 and cannot be null"); } else { this.Arch = arch; } // to ensure "createdBy" is required (not null) if (createdBy == null) { throw new InvalidDataException("createdBy is a required property for InlineResponse2008 and cannot be null"); } else { this.CreatedBy = createdBy; } // to ensure "deletedBy" is required (not null) if (deletedBy == null) { throw new InvalidDataException("deletedBy is a required property for InlineResponse2008 and cannot be null"); } else { this.DeletedBy = deletedBy; } // to ensure "type" is required (not null) if (type == null) { throw new InvalidDataException("type is a required property for InlineResponse2008 and cannot be null"); } else { this.Type = type; } // to ensure "osVersion" is required (not null) if (osVersion == null) { throw new InvalidDataException("osVersion is a required property for InlineResponse2008 and cannot be null"); } else { this.OsVersion = osVersion; } // to ensure "appId" is required (not null) if (appId == null) { throw new InvalidDataException("appId is a required property for InlineResponse2008 and cannot be null"); } else { this.AppId = appId; } // to ensure "links" is required (not null) if (links == null) { throw new InvalidDataException("links is a required property for InlineResponse2008 and cannot be null"); } else { this.Links = links; } }
/// <summary> /// Initializes a new instance of the <see cref="InlineResponse200" /> class. /// </summary> /// <param name="serviceAttributes">serviceAttributes (required).</param> /// <param name="deletedAt">deletedAt (required).</param> /// <param name="networkId">networkId (required).</param> /// <param name="name">name (required).</param> /// <param name="updatedAt">updatedAt (required).</param> /// <param name="postureCheckAttributes">postureCheckAttributes (required).</param> /// <param name="zitiId">zitiId (required).</param> /// <param name="ownerIdentityId">ownerIdentityId (required).</param> /// <param name="id">id (required).</param> /// <param name="createdAt">createdAt (required).</param> /// <param name="createdBy">createdBy (required).</param> /// <param name="deletedBy">deletedBy (required).</param> /// <param name="endpointAttributes">endpointAttributes (required).</param> /// <param name="links">links (required).</param> public InlineResponse200(List <string> serviceAttributes = default(List <string>), AnyType deletedAt = default(AnyType), string networkId = default(string), string name = default(string), string updatedAt = default(string), List <AnyType> postureCheckAttributes = default(List <AnyType>), string zitiId = default(string), string ownerIdentityId = default(string), string id = default(string), string createdAt = default(string), string createdBy = default(string), AnyType deletedBy = default(AnyType), List <string> endpointAttributes = default(List <string>), InlineResponse200Links links = default(InlineResponse200Links)) { // to ensure "serviceAttributes" is required (not null) if (serviceAttributes == null) { throw new InvalidDataException("serviceAttributes is a required property for InlineResponse200 and cannot be null"); } else { this.ServiceAttributes = serviceAttributes; } // to ensure "deletedAt" is required (not null) if (deletedAt == null) { throw new InvalidDataException("deletedAt is a required property for InlineResponse200 and cannot be null"); } else { this.DeletedAt = deletedAt; } // to ensure "networkId" is required (not null) if (networkId == null) { throw new InvalidDataException("networkId is a required property for InlineResponse200 and cannot be null"); } else { this.NetworkId = networkId; } // to ensure "name" is required (not null) if (name == null) { throw new InvalidDataException("name is a required property for InlineResponse200 and cannot be null"); } else { this.Name = name; } // to ensure "updatedAt" is required (not null) if (updatedAt == null) { throw new InvalidDataException("updatedAt is a required property for InlineResponse200 and cannot be null"); } else { this.UpdatedAt = updatedAt; } // to ensure "postureCheckAttributes" is required (not null) if (postureCheckAttributes == null) { throw new InvalidDataException("postureCheckAttributes is a required property for InlineResponse200 and cannot be null"); } else { this.PostureCheckAttributes = postureCheckAttributes; } // to ensure "zitiId" is required (not null) if (zitiId == null) { throw new InvalidDataException("zitiId is a required property for InlineResponse200 and cannot be null"); } else { this.ZitiId = zitiId; } // to ensure "ownerIdentityId" is required (not null) if (ownerIdentityId == null) { throw new InvalidDataException("ownerIdentityId is a required property for InlineResponse200 and cannot be null"); } else { this.OwnerIdentityId = ownerIdentityId; } // to ensure "id" is required (not null) if (id == null) { throw new InvalidDataException("id is a required property for InlineResponse200 and cannot be null"); } else { this.Id = id; } // to ensure "createdAt" is required (not null) if (createdAt == null) { throw new InvalidDataException("createdAt is a required property for InlineResponse200 and cannot be null"); } else { this.CreatedAt = createdAt; } // to ensure "createdBy" is required (not null) if (createdBy == null) { throw new InvalidDataException("createdBy is a required property for InlineResponse200 and cannot be null"); } else { this.CreatedBy = createdBy; } // to ensure "deletedBy" is required (not null) if (deletedBy == null) { throw new InvalidDataException("deletedBy is a required property for InlineResponse200 and cannot be null"); } else { this.DeletedBy = deletedBy; } // to ensure "endpointAttributes" is required (not null) if (endpointAttributes == null) { throw new InvalidDataException("endpointAttributes is a required property for InlineResponse200 and cannot be null"); } else { this.EndpointAttributes = endpointAttributes; } // to ensure "links" is required (not null) if (links == null) { throw new InvalidDataException("links is a required property for InlineResponse200 and cannot be null"); } else { this.Links = links; } }
/// <summary> /// Initializes a new instance of the <see cref="InlineResponse20012" /> class. /// </summary> /// <param name="deletedAt">deletedAt (required).</param> /// <param name="networkId">networkId (required).</param> /// <param name="name">name (required).</param> /// <param name="updatedAt">updatedAt (required).</param> /// <param name="provider">provider (required).</param> /// <param name="online">online (required).</param> /// <param name="zitiId">zitiId (required).</param> /// <param name="userData">userData (required).</param> /// <param name="ownerIdentityId">ownerIdentityId (required).</param> /// <param name="attributes">attributes (required).</param> /// <param name="providerId">providerId (required).</param> /// <param name="jwt">jwt (required).</param> /// <param name="id">id (required).</param> /// <param name="ipAddress">ipAddress (required).</param> /// <param name="status">status (required).</param> /// <param name="hostId">hostId (required).</param> /// <param name="createdAt">createdAt (required).</param> /// <param name="createdBy">createdBy (required).</param> /// <param name="deletedBy">deletedBy (required).</param> /// <param name="locationMetadataId">locationMetadataId (required).</param> /// <param name="linkListener">linkListener (required).</param> /// <param name="dataCenterId">dataCenterId (required).</param> /// <param name="verified">verified (required).</param> /// <param name="links">links (required).</param> public InlineResponse20012(AnyType deletedAt = default(AnyType), string networkId = default(string), string name = default(string), string updatedAt = default(string), AnyType provider = default(AnyType), bool online = default(bool), string zitiId = default(string), AnyType userData = default(AnyType), string ownerIdentityId = default(string), List <string> attributes = default(List <string>), AnyType providerId = default(AnyType), AnyType jwt = default(AnyType), string id = default(string), AnyType ipAddress = default(AnyType), string status = default(string), AnyType hostId = default(AnyType), string createdAt = default(string), string createdBy = default(string), AnyType deletedBy = default(AnyType), AnyType locationMetadataId = default(AnyType), bool linkListener = default(bool), AnyType dataCenterId = default(AnyType), bool verified = default(bool), InlineResponse200Links links = default(InlineResponse200Links)) { // to ensure "deletedAt" is required (not null) if (deletedAt == null) { throw new InvalidDataException("deletedAt is a required property for InlineResponse20012 and cannot be null"); } else { this.DeletedAt = deletedAt; } // to ensure "networkId" is required (not null) if (networkId == null) { throw new InvalidDataException("networkId is a required property for InlineResponse20012 and cannot be null"); } else { this.NetworkId = networkId; } // to ensure "name" is required (not null) if (name == null) { throw new InvalidDataException("name is a required property for InlineResponse20012 and cannot be null"); } else { this.Name = name; } // to ensure "updatedAt" is required (not null) if (updatedAt == null) { throw new InvalidDataException("updatedAt is a required property for InlineResponse20012 and cannot be null"); } else { this.UpdatedAt = updatedAt; } // to ensure "provider" is required (not null) if (provider == null) { throw new InvalidDataException("provider is a required property for InlineResponse20012 and cannot be null"); } else { this.Provider = provider; } // to ensure "online" is required (not null) if (online == null) { throw new InvalidDataException("online is a required property for InlineResponse20012 and cannot be null"); } else { this.Online = online; } // to ensure "zitiId" is required (not null) if (zitiId == null) { throw new InvalidDataException("zitiId is a required property for InlineResponse20012 and cannot be null"); } else { this.ZitiId = zitiId; } // to ensure "userData" is required (not null) if (userData == null) { throw new InvalidDataException("userData is a required property for InlineResponse20012 and cannot be null"); } else { this.UserData = userData; } // to ensure "ownerIdentityId" is required (not null) if (ownerIdentityId == null) { throw new InvalidDataException("ownerIdentityId is a required property for InlineResponse20012 and cannot be null"); } else { this.OwnerIdentityId = ownerIdentityId; } // to ensure "attributes" is required (not null) if (attributes == null) { throw new InvalidDataException("attributes is a required property for InlineResponse20012 and cannot be null"); } else { this.Attributes = attributes; } // to ensure "providerId" is required (not null) if (providerId == null) { throw new InvalidDataException("providerId is a required property for InlineResponse20012 and cannot be null"); } else { this.ProviderId = providerId; } // to ensure "jwt" is required (not null) if (jwt == null) { throw new InvalidDataException("jwt is a required property for InlineResponse20012 and cannot be null"); } else { this.Jwt = jwt; } // to ensure "id" is required (not null) if (id == null) { throw new InvalidDataException("id is a required property for InlineResponse20012 and cannot be null"); } else { this.Id = id; } // to ensure "ipAddress" is required (not null) if (ipAddress == null) { throw new InvalidDataException("ipAddress is a required property for InlineResponse20012 and cannot be null"); } else { this.IpAddress = ipAddress; } // to ensure "status" is required (not null) if (status == null) { throw new InvalidDataException("status is a required property for InlineResponse20012 and cannot be null"); } else { this.Status = status; } // to ensure "hostId" is required (not null) if (hostId == null) { throw new InvalidDataException("hostId is a required property for InlineResponse20012 and cannot be null"); } else { this.HostId = hostId; } // to ensure "createdAt" is required (not null) if (createdAt == null) { throw new InvalidDataException("createdAt is a required property for InlineResponse20012 and cannot be null"); } else { this.CreatedAt = createdAt; } // to ensure "createdBy" is required (not null) if (createdBy == null) { throw new InvalidDataException("createdBy is a required property for InlineResponse20012 and cannot be null"); } else { this.CreatedBy = createdBy; } // to ensure "deletedBy" is required (not null) if (deletedBy == null) { throw new InvalidDataException("deletedBy is a required property for InlineResponse20012 and cannot be null"); } else { this.DeletedBy = deletedBy; } // to ensure "locationMetadataId" is required (not null) if (locationMetadataId == null) { throw new InvalidDataException("locationMetadataId is a required property for InlineResponse20012 and cannot be null"); } else { this.LocationMetadataId = locationMetadataId; } // to ensure "linkListener" is required (not null) if (linkListener == null) { throw new InvalidDataException("linkListener is a required property for InlineResponse20012 and cannot be null"); } else { this.LinkListener = linkListener; } // to ensure "dataCenterId" is required (not null) if (dataCenterId == null) { throw new InvalidDataException("dataCenterId is a required property for InlineResponse20012 and cannot be null"); } else { this.DataCenterId = dataCenterId; } // to ensure "verified" is required (not null) if (verified == null) { throw new InvalidDataException("verified is a required property for InlineResponse20012 and cannot be null"); } else { this.Verified = verified; } // to ensure "links" is required (not null) if (links == null) { throw new InvalidDataException("links is a required property for InlineResponse20012 and cannot be null"); } else { this.Links = links; } }