Class MagnumMservice

    • Constructor Detail

      • MagnumMservice

        public MagnumMservice()
    • Method Detail

      • builder

        public static MserviceBuilder builder()
        Magnum service builder
        Returns:
        the Magnum Service builder
      • getId

        public String getId()
        Identifier of Magnum Service
        Specified by:
        getId in interface Mservice
        Returns:
        the of Magnum Service
      • setId

        public void setId​(String id)
        Set the id
      • getBinary

        public String getBinary()
        Binary of the service
        Specified by:
        getBinary in interface Mservice
        Returns:
        the binary of the service
      • setBinary

        public void setBinary​(String binary)
        Set the binary
      • getCreatedAt

        public String getCreatedAt()
        Creation date
        Specified by:
        getCreatedAt in interface Mservice
        Returns:
        the date of creation
      • setCreatedAt

        public void setCreatedAt​(String createdAt)
        Set the creation date
      • getState

        public String getState()
        Current state if it is up or not
        Specified by:
        getState in interface Mservice
        Returns:
        the state of the service
      • setState

        public void setState​(String state)
        Set the state
      • getReportCount

        public int getReportCount()
        Report count
        Specified by:
        getReportCount in interface Mservice
        Returns:
        the report count of the service
      • setReportCount

        public void setReportCount​(int reportCount)
        Set the report count
      • getUpdatedAt

        public String getUpdatedAt()
        The date of last updation
        Specified by:
        getUpdatedAt in interface Mservice
        Returns:
        the last updated time
      • setUpdatedAt

        public void setUpdatedAt​(String updatedAt)
        Set the updated time
      • getHost

        public String getHost()
        The host name
        Specified by:
        getHost in interface Mservice
        Returns:
        the host name
      • setHost

        public void setHost​(String host)
        Set the hostname
      • getDisabledReason

        public String getDisabledReason()
        The disabled reason
        Specified by:
        getDisabledReason in interface Mservice
        Returns:
        the disabled reason
      • setDisabledReason

        public void setDisabledReason​(String disabledReason)
        Set the disabled reason