/// <summary> /// Gets the request builder for DeviceCompliancePolicySetScheduledRetireState. /// </summary> /// <returns>The <see cref="IDeviceCompliancePolicySetScheduledRetireStateRequestBuilder"/>.</returns> public IDeviceCompliancePolicySetScheduledRetireStateRequestBuilder SetScheduledRetireState( ScheduledRetireState state, IEnumerable <string> managedDeviceIds = null) { return(new DeviceCompliancePolicySetScheduledRetireStateRequestBuilder( this.AppendSegmentToRequestUrl("microsoft.graph.setScheduledRetireState"), this.Client, state, managedDeviceIds)); }
/// <summary> /// Constructs a new <see cref="DeviceCompliancePolicySetScheduledRetireStateRequestBuilder"/>. /// </summary> /// <param name="requestUrl">The URL for the request.</param> /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param> /// <param name="state">A state parameter for the OData method call.</param> /// <param name="managedDeviceIds">A managedDeviceIds parameter for the OData method call.</param> public DeviceCompliancePolicySetScheduledRetireStateRequestBuilder( string requestUrl, IBaseClient client, ScheduledRetireState state, IEnumerable <string> managedDeviceIds) : base(requestUrl, client) { this.SetParameter("state", state, false); this.SetParameter("managedDeviceIds", managedDeviceIds, true); }