// Code generated by protoc-gen-goext. DO NOT EDIT.

package maintenance

import (
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

func (m *Maintenance) SetId(v string) {
	m.Id = v
}

func (m *Maintenance) SetResourcePath(v []*Maintenance_Resource) {
	m.ResourcePath = v
}

func (m *Maintenance) SetDescription(v string) {
	m.Description = v
}

func (m *Maintenance) SetDetails(v []*Maintenance_Detail) {
	m.Details = v
}

func (m *Maintenance) SetStatus(v Maintenance_Status) {
	m.Status = v
}

func (m *Maintenance) SetCreatedAt(v *timestamppb.Timestamp) {
	m.CreatedAt = v
}

func (m *Maintenance) SetStartScheduledAt(v *timestamppb.Timestamp) {
	m.StartScheduledAt = v
}

func (m *Maintenance) SetCompletionScheduledAt(v *timestamppb.Timestamp) {
	m.CompletionScheduledAt = v
}

func (m *Maintenance) SetMaxStartScheduledAt(v *timestamppb.Timestamp) {
	m.MaxStartScheduledAt = v
}

func (m *Maintenance) SetStartedAt(v *timestamppb.Timestamp) {
	m.StartedAt = v
}

func (m *Maintenance) SetSucceededAt(v *timestamppb.Timestamp) {
	m.SucceededAt = v
}

func (m *Maintenance) SetCancelledAt(v *timestamppb.Timestamp) {
	m.CancelledAt = v
}

func (m *Maintenance) SetUserControllable(v bool) {
	m.UserControllable = v
}

func (m *Maintenance_Resource) SetId(v string) {
	m.Id = v
}

func (m *Maintenance_Resource) SetType(v string) {
	m.Type = v
}

func (m *Maintenance_Detail) SetKey(v string) {
	m.Key = v
}

func (m *Maintenance_Detail) SetValue(v string) {
	m.Value = v
}

type ListMaintenancesRequest_Container = isListMaintenancesRequest_Container

func (m *ListMaintenancesRequest) SetContainer(v ListMaintenancesRequest_Container) {
	m.Container = v
}

func (m *ListMaintenancesRequest) SetCloudId(v string) {
	m.Container = &ListMaintenancesRequest_CloudId{
		CloudId: v,
	}
}

func (m *ListMaintenancesRequest) SetFolderId(v string) {
	m.Container = &ListMaintenancesRequest_FolderId{
		FolderId: v,
	}
}

func (m *ListMaintenancesRequest) SetResourceId(v string) {
	m.Container = &ListMaintenancesRequest_ResourceId{
		ResourceId: v,
	}
}

func (m *ListMaintenancesRequest) SetPageSize(v int64) {
	m.PageSize = v
}

func (m *ListMaintenancesRequest) SetPageToken(v string) {
	m.PageToken = v
}

func (m *ListMaintenancesRequest) SetOrderBy(v string) {
	m.OrderBy = v
}

func (m *ListMaintenancesRequest) SetFilter(v string) {
	m.Filter = v
}

func (m *ListMaintenancesResponse) SetMaintenances(v []*Maintenance) {
	m.Maintenances = v
}

func (m *ListMaintenancesResponse) SetNextPageToken(v string) {
	m.NextPageToken = v
}

func (m *GetMaintenanceRequest) SetMaintenanceId(v string) {
	m.MaintenanceId = v
}

func (m *RescheduleMaintenanceRequest) SetMaintenanceId(v string) {
	m.MaintenanceId = v
}

func (m *RescheduleMaintenanceRequest) SetRescheduleType(v RescheduleMaintenanceRequest_Type) {
	m.RescheduleType = v
}

func (m *RescheduleMaintenanceRequest) SetScheduledAt(v *timestamppb.Timestamp) {
	m.ScheduledAt = v
}
