(eligibility_requirement)
- create - Create Eligibility Requirement
- delete - Delete Eligibility Requirement
- get - Get Eligibility Requirement
- update - Update Eligibility Requirement
Create Eligibility Requirement
import wingspan
from wingspan.models import shared
s = wingspan.Wingspan()
req = shared.EligibilityRequirementCreateRequest(
requirement_type=shared.EligibilityRequirementCreateRequestRequirementType.SIGNATURE,
)
res = s.eligibility_requirement.create(req)
if res.eligibility_requirement is not None:
# handle response
pass
Parameter | Type | Required | Description |
---|---|---|---|
request |
shared.EligibilityRequirementCreateRequest | ✔️ | The request object to use for the request. |
operations.CreateEligibilityRequirementResponse
Delete Eligibility Requirement
import wingspan
from wingspan.models import operations
s = wingspan.Wingspan()
res = s.eligibility_requirement.delete(id='program')
if res.eligibility_requirements is not None:
# handle response
pass
Parameter | Type | Required | Description |
---|---|---|---|
id |
str | ✔️ | Unique identifier |
operations.DeleteEligibilityRequirementResponse
Get Eligibility Requirement
import wingspan
from wingspan.models import operations
s = wingspan.Wingspan()
res = s.eligibility_requirement.get(id='female')
if res.eligibility_requirements is not None:
# handle response
pass
Parameter | Type | Required | Description |
---|---|---|---|
id |
str | ✔️ | Unique identifier |
operations.GetEligibilityRequirementResponse
Update Eligibility Requirement
import wingspan
from wingspan.models import operations, shared
s = wingspan.Wingspan()
res = s.eligibility_requirement.update(id='Van', eligibility_requirement_update_request=shared.EligibilityRequirementUpdateRequest(
requirement_type=shared.EligibilityRequirementUpdateRequestRequirementType.SIGNATURE,
))
if res.eligibility_requirements is not None:
# handle response
pass
Parameter | Type | Required | Description |
---|---|---|---|
id |
str | ✔️ | Unique identifier |
eligibility_requirement_update_request |
Optional[shared.EligibilityRequirementUpdateRequest] | ➖ | N/A |