// Code generated by go-swagger; DO NOT EDIT.

package ops

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

import (
	"context"

	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)

// IncidentUpdateIncidentReq incident update incident req
//
// swagger:model incident.UpdateIncidentReq
type IncidentUpdateIncidentReq struct {

	// biz regions
	BizRegions string `json:"biz_regions,omitempty"`

	// components
	Components string `json:"components,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// fbowners
	Fbowners []string `json:"fbowners"`

	// feishu url
	FeishuURL string `json:"feishu_url,omitempty"`

	// incident resolve time
	IncidentResolveTime string `json:"incident_resolve_time,omitempty"`

	// incident start time
	IncidentStartTime string `json:"incident_start_time,omitempty"`

	// jira issues
	JiraIssues string `json:"jira_issues,omitempty"`

	// leaders
	Leaders []string `json:"leaders"`

	// name
	Name string `json:"name,omitempty"`

	// oncallers
	Oncallers []string `json:"oncallers"`

	// status
	Status string `json:"status,omitempty"`

	// tier
	Tier string `json:"tier,omitempty"`
}

// Validate validates this incident update incident req
func (m *IncidentUpdateIncidentReq) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this incident update incident req based on context it is used
func (m *IncidentUpdateIncidentReq) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

// MarshalBinary interface implementation
func (m *IncidentUpdateIncidentReq) MarshalBinary() ([]byte, error) {
	if m == nil {
		return nil, nil
	}
	return swag.WriteJSON(m)
}

// UnmarshalBinary interface implementation
func (m *IncidentUpdateIncidentReq) UnmarshalBinary(b []byte) error {
	var res IncidentUpdateIncidentReq
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*m = res
	return nil
}
