func (s ScenePartial) UpdateInput() SceneUpdateInput {
	boolPtrCopy := func(v *bool) *bool {
		if v == nil {
			return nil
		}

		vv := *v
		return &vv
	}

	return SceneUpdateInput{
		ID:        strconv.Itoa(s.ID),
		Title:     nullStringPtrToStringPtr(s.Title),
		Details:   nullStringPtrToStringPtr(s.Details),
		URL:       nullStringPtrToStringPtr(s.URL),
		Date:      s.Date.StringPtr(),
		Rating:    nullInt64PtrToIntPtr(s.Rating),
		Organized: boolPtrCopy(s.Organized),
		StudioID:  nullInt64PtrToStringPtr(s.StudioID),
	}
}
// UpdateInput constructs a SceneUpdateInput using the populated fields in the ScenePartial object.
UpdateInput constructs a SceneUpdateInput using the populated fields in the ScenePartial object.
// UpdateInput constructs a SceneUpdateInput using the populated fields in the ScenePartial object .
func (s ScenePartial) UpdateInput() SceneUpdateInput {
	boolPtrCopy := func(v *bool) *bool {
		if v == nil {
			return nil
		}
		vv := *v
		return &vv
	}
	return SceneUpdateInput{
		ID:        strconv.Itoa(s.ID),
		Title:     nullStringPtrToStringPtr(s.Title),
		Details:   nullStringPtrToStringPtr(s.Details),
		URL:       nullStringPtrToStringPtr(s.URL),
		Date:      s.Date.StringPtr(),
		Rating:    nullInt64PtrToIntPtr(s.Rating),
		Organized: boolPtrCopy(s.Organized),
		StudioID:  nullInt64PtrToStringPtr(s.StudioID),
	}
}
func ( s ScenePartial ) UpdateInput ( ) SceneUpdateInput { boolPtrCopy := func ( v * bool ) * bool { if v == nil { return nil } vv := * v return & vv } return SceneUpdateInput { ID : strconv . Itoa ( s . ID ) , Title : nullStringPtrToStringPtr ( s . Title ) , Details : nullStringPtrToStringPtr ( s . Details ) , URL : nullStringPtrToStringPtr ( s . URL ) , Date : s . Date . StringPtr ( ) , Rating : nullInt64PtrToIntPtr ( s . Rating ) , Organized : boolPtrCopy ( s . Organized ) , StudioID : nullInt64PtrToStringPtr ( s . StudioID ) , } }
UpdateInput constructs a SceneUpdateInput using the populated fields in the ScenePartial object.
UpdateInput constructs a SceneUpdateInput using the populated fields in the ScenePartial object .