jkawamoto/roadie

View on GitHub
cloud/azure/batch/models/recent_job.go

Summary

Maintainability
A
55 mins
Test Coverage
package models

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
    strfmt "github.com/go-openapi/strfmt"

    "github.com/go-openapi/errors"
)

// RecentJob Information about the most recent job to run under the job schedule.
// swagger:model RecentJob
type RecentJob struct {

    // The ID of the job.
    ID string `json:"id,omitempty"`

    // The URL of the job.
    URL string `json:"url,omitempty"`
}

// Validate validates this recent job
func (m *RecentJob) Validate(formats strfmt.Registry) error {
    var res []error

    if len(res) > 0 {
        return errors.CompositeValidationError(res...)
    }
    return nil
}