internal ComputeTypeGetResponse( CoreRegistrationModel.ComputeTypeGetResponse internalResponse, DataFactoryManagementClient client) : this() { DataFactoryOperationUtilities.CopyRuntimeProperties(internalResponse, this); this.ComputeType = ((ComputeTypeOperations)client.ComputeTypes).Converter.ToWrapperType(internalResponse.ComputeType); }
internal DatasetGetResponse(Core.Models.DatasetGetResponse internalResponse, DataFactoryManagementClient client) : this() { Ensure.IsNotNull(internalResponse, "internalResponse"); Ensure.IsNotNull(internalResponse.Dataset, "internalResponse.Dataset"); DataFactoryOperationUtilities.CopyRuntimeProperties(internalResponse, this); this.Dataset = ((DatasetOperations)client.Datasets).Converter.ToWrapperType(internalResponse.Dataset); }
internal TableGetResponse(Core.Models.TableGetResponse internalResponse, DataFactoryManagementClient client) : this() { Ensure.IsNotNull(internalResponse, "internalResponse"); Ensure.IsNotNull(internalResponse.Table, "internalResponse.Table"); DataFactoryOperationUtilities.CopyRuntimeProperties(internalResponse, this); this.Table = ((TableOperations)client.Tables).Converter.ToWrapperType(internalResponse.Table); }
internal ActivityTypeCreateOrUpdateResponse( CoreRegistrationModel.ActivityTypeCreateOrUpdateResponse internalResponse, DataFactoryManagementClient client) : this() { DataFactoryOperationUtilities.CopyRuntimeProperties(internalResponse, this); this.ActivityType = ((ActivityTypeOperations)client.ActivityTypes).Converter.ToWrapperType(internalResponse.ActivityType); this.Status = internalResponse.Status; }
internal TableListResponse(Core.Models.TableListResponse internalResponse, DataFactoryManagementClient client) { Ensure.IsNotNull(internalResponse, "internalResponse"); Ensure.IsNotNull(internalResponse.Tables, "internalResponse.Tables"); DataFactoryOperationUtilities.CopyRuntimeProperties(internalResponse, this); this.NextLink = internalResponse.NextLink; this.Tables = internalResponse.Tables.Select( internalTable => ((TableOperations)client.Tables).Converter.ToWrapperType(internalTable)).ToList(); }
internal ComputeTypeListResponse( CoreRegistrationModel.ComputeTypeListResponse internalResponse, DataFactoryManagementClient client) { DataFactoryOperationUtilities.CopyRuntimeProperties(internalResponse, this); this.NextLink = internalResponse.NextLink; this.ComputeTypes = internalResponse.ComputeTypes.Select( internalComputeType => ((ComputeTypeOperations)client.ComputeTypes).Converter.ToWrapperType(internalComputeType)) .ToList(); }
internal PipelineCreateOrUpdateResponse( Core.Models.PipelineCreateOrUpdateResponse internalResponse, DataFactoryManagementClient client) : this() { Ensure.IsNotNull(internalResponse, "internalResponse"); Ensure.IsNotNull(internalResponse.Pipeline, "internalResponse.Pipeline"); DataFactoryOperationUtilities.CopyRuntimeProperties(internalResponse, this); this.Pipeline = ((PipelineOperations)client.Pipelines).Converter.ToWrapperType(internalResponse.Pipeline); this.Location = internalResponse.Location; this.Status = internalResponse.Status; }