Class PolicyCollectionInner


  • public final class PolicyCollectionInner
    extends Object
    The response of the list policy operation.
    • Constructor Detail

      • PolicyCollectionInner

        public PolicyCollectionInner()
    • Method Detail

      • value

        public List<PolicyContractInner> value()
        Get the value property: Policy Contract value.
        Returns:
        the value value.
      • withValue

        public PolicyCollectionInner withValue​(List<PolicyContractInner> value)
        Set the value property: Policy Contract value.
        Parameters:
        value - the value value to set.
        Returns:
        the PolicyCollectionInner object itself.
      • count

        public Long count()
        Get the count property: Total record count number.
        Returns:
        the count value.
      • withCount

        public PolicyCollectionInner withCount​(Long count)
        Set the count property: Total record count number.
        Parameters:
        count - the count value to set.
        Returns:
        the PolicyCollectionInner object itself.
      • nextLink

        public String nextLink()
        Get the nextLink property: Next page link if any.
        Returns:
        the nextLink value.
      • withNextLink

        public PolicyCollectionInner withNextLink​(String nextLink)
        Set the nextLink property: Next page link if any.
        Parameters:
        nextLink - the nextLink value to set.
        Returns:
        the PolicyCollectionInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.